Here are some great tools which are beneficial for a JMeter tester for debugging the requests:
Fiddler helps to capture the HTTP(S) traffic and debug the requests and to analyse web session caching, cookie and header properties in detail in Inspector tab. We can get network stats of the requests using Statistics tab. Composer to execute the requests and Timeline allows you to visualize the traffic on a 'waterfall' diagram.
We can also capture the mobile traffic by setting the proxy in mobile device.
To get Fiddler: Click Here
Postman is a tool chain for API developers to share, test, document and monitor APIs. This helps the users to check or debug HTTP/HTTPS request along with their response data.
We can save the entire requests under collection. Also we can export the collection to JMeter by setting up the proxy in JMeter and running the collection in Postman. Open JMeter, add HTTP Test Script Recorder to the Test Plan and enter port number and Start the Recorder.
Now go to the network settings and set up the same port which we set in JMeter.
Now go to Runner tab of Postman, which will lead us to another window and select the collection which you want to RUN.
Now go to JMeter, you can find the requests are being recorded.
To get Postman: Click Here
BadBoy is another tool which helps the testers to record the flow without any proxies and can see the flow without any switching of tabs. Testers can easily export the script to jmx by selecting Export to JMeter option (Files -> Export to JMeter).
To get Badboy: Click Here
GOOGLE DEVELOPER TOOL / FIREFOX WEB DEVELOPER:
This tool also helps to record, debug and analyse the request along with the external / resources of that request. Testers can save the request as .har file.
Summarising the above points:
|Mobile/Web||Yes||Yes||Only Web||Only Web|
|Capture traffic by setting proxy||Yes through Proxy||Not supported||Captures without any proxy setup||Captures with browser network configuration|
|Recording JMeter Script from the tool||No||No||Can directly import jmx||No|
|Save captured data as||.har||.json||.bx, .jmx||.har|
More tools from this category are:
- Charles Proxy: Charles is an HTTP proxy / HTTP monitor / Reverse Proxy that enables a developer to view all of the HTTP and SSL / HTTPS traffic between their machine and the Internet. This includes requests, responses and the HTTP headers (which contain the cookies and caching information).
- Mitmproxy: Mitmproxy is a console tool that allows interactive examination and modification of HTTP traffic.
- DebugBar: An Internet Explorer plug-in which supports to view HTTP/s request to check cookies, GET and POST parameters, view server info. All can be exported into a HAR file.