JMETER - Try to test UCP messages
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
add a comment |
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
add a comment |
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
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
jmeter
asked Jan 21 at 10:30
user987836user987836
61
61
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
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.
- Obtain a Java Library which implements UCP protocol, for example RSMS Ucp and drop it into JMeter Classpath
- Restart JMeter to pick the library up
- Add JSR223 Sampler to your Test Plan
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)
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
- Obtain a Java Library which implements UCP protocol, for example RSMS Ucp and drop it into JMeter Classpath
- Restart JMeter to pick the library up
- Add JSR223 Sampler to your Test Plan
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)
add a comment |
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.
- Obtain a Java Library which implements UCP protocol, for example RSMS Ucp and drop it into JMeter Classpath
- Restart JMeter to pick the library up
- Add JSR223 Sampler to your Test Plan
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)
add a comment |
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.
- Obtain a Java Library which implements UCP protocol, for example RSMS Ucp and drop it into JMeter Classpath
- Restart JMeter to pick the library up
- Add JSR223 Sampler to your Test Plan
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)
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.
- Obtain a Java Library which implements UCP protocol, for example RSMS Ucp and drop it into JMeter Classpath
- Restart JMeter to pick the library up
- Add JSR223 Sampler to your Test Plan
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)
answered Jan 22 at 4:14
Dmitri TDmitri T
27612
27612
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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