Downlaod and install soapui and here is wsdl url: http://www.webservicex.com/CurrencyConvertor.asmx?wsdl
1. Start Jmeter
Click on Jmeter_Home/bin/ApacheJMeter.jar or jmeter.sh to open Jmeter window
2. Add 'Thread Group' under 'Test Plan'
Right-click on the Test Plan > Add > Threads (Users) > Thread Group
Number of Threads (users): The number of users that JMeter will attempt to simulate. Set the 'Number of Threads (users)' field to 10
Ramp-Up Period (in seconds): start the total number of threads. Set the 'Ramp-Up Period' field to 1
Loop Count: The number of times to execute the test. Set the 'Loop Count' field to 1.
3. Add 'SOAP/XML-RPC Request' Sampler under 'Thread Group'
Right-click on the Thread Group > Add > Sampler > SOAP/XML-RPC Request
4. Open soap UI and create new soapui project using wsdl url as I used in below
5. After soap ui project created successfully. Copy soap request data as I copy below soap request.
6. Past copied soap request code into created Jmeter SOAP/XML-RPC Request” sampler in Soap/XML-RPC data as below:
7. Add 'View Results Tree' and 'Summary Report' Listener under 'Thread Group'
Right-click on the Thread Group > Add > Listener > View Results Tree
Right-click on the Thread Group > Add > Listener > Summary Report
View Results Tree:
You can see how many request successfully serve, how many request fail to serve and it reason.
Summary Report:
Sample - number of requests sent
Avg - an Arithmetic mean for all responses (sum of all times / count)
Minimal response time (ms)
Maximum response time (ms)
Error rate - percentage of failed tests
Throughput - how many requests per second does your server handle. Larger is better.
KB/Sec - self expalanatory
Avg. Bytes - average response size
8. Finally Save Test plan then Press 'Ctrl'+ 'R' to run Test plan
N.B: You can change all names like as 'Test Plan', 'Thread Group', 'Sampler' and 'Listener' name
1. Start Jmeter
Click on Jmeter_Home/bin/ApacheJMeter.jar or jmeter.sh to open Jmeter window
2. Add 'Thread Group' under 'Test Plan'
Right-click on the Test Plan > Add > Threads (Users) > Thread Group
Number of Threads (users): The number of users that JMeter will attempt to simulate. Set the 'Number of Threads (users)' field to 10
Ramp-Up Period (in seconds): start the total number of threads. Set the 'Ramp-Up Period' field to 1
Loop Count: The number of times to execute the test. Set the 'Loop Count' field to 1.
3. Add 'SOAP/XML-RPC Request' Sampler under 'Thread Group'
Right-click on the Thread Group > Add > Sampler > SOAP/XML-RPC Request
4. Open soap UI and create new soapui project using wsdl url as I used in below
5. After soap ui project created successfully. Copy soap request data as I copy below soap request.
6. Past copied soap request code into created Jmeter SOAP/XML-RPC Request” sampler in Soap/XML-RPC data as below:
7. Add 'View Results Tree' and 'Summary Report' Listener under 'Thread Group'
Right-click on the Thread Group > Add > Listener > View Results Tree
Right-click on the Thread Group > Add > Listener > Summary Report
View Results Tree:
You can see how many request successfully serve, how many request fail to serve and it reason.
Summary Report:
Sample - number of requests sent
Avg - an Arithmetic mean for all responses (sum of all times / count)
Minimal response time (ms)
Maximum response time (ms)
Error rate - percentage of failed tests
Throughput - how many requests per second does your server handle. Larger is better.
KB/Sec - self expalanatory
Avg. Bytes - average response size
8. Finally Save Test plan then Press 'Ctrl'+ 'R' to run Test plan
N.B: You can change all names like as 'Test Plan', 'Thread Group', 'Sampler' and 'Listener' name
No comments:
Post a Comment