Notes:
An Update:
JMeter ver 3.2 onwards – SOAP/XML-RPC Request has been removed as part of Bug 60727. Use HTTP Request element as a replacement. See Building a WebService Test Plan http://jmeter.apache.org/usermanual/build-ws-test-plan.html
API = Application Programming Interface
example-
Restaurant – table — WAITER — kitchen
real world example – makemytrip.com
WebServices – client — API — server
REST | SOAP
How to test REST API
———————————
Step 1
Add HTTP Request Sampler
OR
Add SOAP/XML-RPC Request Sampler
Step 2
Add REST API details
(http://openweathermap.org/appid)
api.openweathermap.org/data/2.5/forecast/city?id=524901&APPID=1111111111
http://api.openweathermap.org/data/2.5/weather?q=NewDelhi&appid=5ad76b332e2fa27ea9859353e5fdd69d
api.openweathermap.org
/data/2.5/weather/
q=NewDelhi
appid=5ad76b332e2fa27ea9859353e5fdd69d
Step 3
Run and Validate
How to test SOAP API
———————————
Step 1
Add SOAP/XML-RPC Request Sampler
Step 2
Add details of the Soap API Request
(http://www.webservicex.net/New/Home/ServiceDetail/56)
Step 3
Run and Validate
JMeter Beginner Playlist : https://www.youtube.com/playlist?list…
JMeter Intermediate Playlist : https://www.youtube.com/playlist?list…
JMeter Advanced Playlist: https://www.youtube.com/playlist?list…
Send me your comments and feedback