JMETER - Try to test UCP messages












1















I'm trying to search a way to test an IP an a specific port which is made to receive UCP messages (SMS).
I would like to do the test with Jmeter but I don't find anything on the web that helps me on this way.
The goal of the test is to manage differents users. Each user simulates a mobile phone. Each user have to send an amount of SMS (UCP protocol) per seconde to the server.
For each message sent I have also to check if the response is correct (find ACK in the UCP response) and then send an other specific message.



If you have a solution for this thank you a lot I'm stuck.










share|improve this question



























    1















    I'm trying to search a way to test an IP an a specific port which is made to receive UCP messages (SMS).
    I would like to do the test with Jmeter but I don't find anything on the web that helps me on this way.
    The goal of the test is to manage differents users. Each user simulates a mobile phone. Each user have to send an amount of SMS (UCP protocol) per seconde to the server.
    For each message sent I have also to check if the response is correct (find ACK in the UCP response) and then send an other specific message.



    If you have a solution for this thank you a lot I'm stuck.










    share|improve this question

























      1












      1








      1








      I'm trying to search a way to test an IP an a specific port which is made to receive UCP messages (SMS).
      I would like to do the test with Jmeter but I don't find anything on the web that helps me on this way.
      The goal of the test is to manage differents users. Each user simulates a mobile phone. Each user have to send an amount of SMS (UCP protocol) per seconde to the server.
      For each message sent I have also to check if the response is correct (find ACK in the UCP response) and then send an other specific message.



      If you have a solution for this thank you a lot I'm stuck.










      share|improve this question














      I'm trying to search a way to test an IP an a specific port which is made to receive UCP messages (SMS).
      I would like to do the test with Jmeter but I don't find anything on the web that helps me on this way.
      The goal of the test is to manage differents users. Each user simulates a mobile phone. Each user have to send an amount of SMS (UCP protocol) per seconde to the server.
      For each message sent I have also to check if the response is correct (find ACK in the UCP response) and then send an other specific message.



      If you have a solution for this thank you a lot I'm stuck.







      jmeter






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jan 21 at 10:30









      user987836user987836

      61




      61






















          1 Answer
          1






          active

          oldest

          votes


















          0














          Out of the box JMeter doesn't support UCP protocol, however you can consider using JSR223 Sampler and Groovy language in order to create UCP messages programmatically.




          1. Obtain a Java Library which implements UCP protocol, for example RSMS Ucp and drop it into JMeter Classpath

          2. Restart JMeter to pick the library up

          3. Add JSR223 Sampler to your Test Plan


          4. Write the relevant code using Java or Groovy syntax, the minimum would be something like:



            import com.java4less.comm.ModemConnector
            import com.java4less.sms.SmsMessage
            import com.java4less.sms.tap.TapSender

            def connector = new ModemConnector("number to dial", "AT init command", "port", 9600, 8, 1, 'N')
            def message = new SmsMessage("recipient number", "message text");
            def sender = new TapSender(connector, "TAP password");
            def success = sender.sendMessage(message)







          share|improve this answer























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "3"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1396564%2fjmeter-try-to-test-ucp-messages%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            Out of the box JMeter doesn't support UCP protocol, however you can consider using JSR223 Sampler and Groovy language in order to create UCP messages programmatically.




            1. Obtain a Java Library which implements UCP protocol, for example RSMS Ucp and drop it into JMeter Classpath

            2. Restart JMeter to pick the library up

            3. Add JSR223 Sampler to your Test Plan


            4. Write the relevant code using Java or Groovy syntax, the minimum would be something like:



              import com.java4less.comm.ModemConnector
              import com.java4less.sms.SmsMessage
              import com.java4less.sms.tap.TapSender

              def connector = new ModemConnector("number to dial", "AT init command", "port", 9600, 8, 1, 'N')
              def message = new SmsMessage("recipient number", "message text");
              def sender = new TapSender(connector, "TAP password");
              def success = sender.sendMessage(message)







            share|improve this answer




























              0














              Out of the box JMeter doesn't support UCP protocol, however you can consider using JSR223 Sampler and Groovy language in order to create UCP messages programmatically.




              1. Obtain a Java Library which implements UCP protocol, for example RSMS Ucp and drop it into JMeter Classpath

              2. Restart JMeter to pick the library up

              3. Add JSR223 Sampler to your Test Plan


              4. Write the relevant code using Java or Groovy syntax, the minimum would be something like:



                import com.java4less.comm.ModemConnector
                import com.java4less.sms.SmsMessage
                import com.java4less.sms.tap.TapSender

                def connector = new ModemConnector("number to dial", "AT init command", "port", 9600, 8, 1, 'N')
                def message = new SmsMessage("recipient number", "message text");
                def sender = new TapSender(connector, "TAP password");
                def success = sender.sendMessage(message)







              share|improve this answer


























                0












                0








                0







                Out of the box JMeter doesn't support UCP protocol, however you can consider using JSR223 Sampler and Groovy language in order to create UCP messages programmatically.




                1. Obtain a Java Library which implements UCP protocol, for example RSMS Ucp and drop it into JMeter Classpath

                2. Restart JMeter to pick the library up

                3. Add JSR223 Sampler to your Test Plan


                4. Write the relevant code using Java or Groovy syntax, the minimum would be something like:



                  import com.java4less.comm.ModemConnector
                  import com.java4less.sms.SmsMessage
                  import com.java4less.sms.tap.TapSender

                  def connector = new ModemConnector("number to dial", "AT init command", "port", 9600, 8, 1, 'N')
                  def message = new SmsMessage("recipient number", "message text");
                  def sender = new TapSender(connector, "TAP password");
                  def success = sender.sendMessage(message)







                share|improve this answer













                Out of the box JMeter doesn't support UCP protocol, however you can consider using JSR223 Sampler and Groovy language in order to create UCP messages programmatically.




                1. Obtain a Java Library which implements UCP protocol, for example RSMS Ucp and drop it into JMeter Classpath

                2. Restart JMeter to pick the library up

                3. Add JSR223 Sampler to your Test Plan


                4. Write the relevant code using Java or Groovy syntax, the minimum would be something like:



                  import com.java4less.comm.ModemConnector
                  import com.java4less.sms.SmsMessage
                  import com.java4less.sms.tap.TapSender

                  def connector = new ModemConnector("number to dial", "AT init command", "port", 9600, 8, 1, 'N')
                  def message = new SmsMessage("recipient number", "message text");
                  def sender = new TapSender(connector, "TAP password");
                  def success = sender.sendMessage(message)








                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Jan 22 at 4:14









                Dmitri TDmitri T

                27612




                27612






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Super User!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1396564%2fjmeter-try-to-test-ucp-messages%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Terni

                    A new problem with tex4ht and tikz

                    Sun Ra