0

I'm new to azure load testing portal but I was able to run a load test easy enough using a Jmeter script. It was a small test to prove it works. I can see result information on the dashboard below which is useful.

However, I wanted to be able to view what requests and responses were sent during each test such as request and response text bodys. I can't seem to find these anyway, I have downloaded all the files I highlighted in my screenshot. The results csv has information around each request but not the request or response body. Is there anyway to veiw this? enter image description here

I have tried adding output filename to the 'View Results Tree' listener, this works locally on my machine where I can upload the file into Jmeter and read the request and response bodies but this file doesn't seem to be generatored or store on azure load testing portal.

enter image description here

Any ideas?

1
  • Azure Load Testing doesn't capture request/response bodies—run your JMeter test locally with a View Results Tree listener and output file to view them, or enable backend logging via Application Insights for deeper insights Commented Apr 8 at 4:48

1 Answer 1

0

By default, Azure Load Testing doesn’t provide the full request and response bodies to avoid exposing sensitive data and to keep the test running smoothly, especially when handling a large number of requests.

If you need to view individual request or response bodies,

  • Run the test locally using JMeter:

    Add a View Results Tree listener in JMeter, enable storing of request and response bodies in JMeter and save results in .jtl format for local inspection. Refer this doc to know about View results tree.

  • If you control the backend/API being tested, you can log the incoming requests and responses using Application Insights. Please refer this Msdoc to Monitor server-side application metrics by using Azure Load Testing.

  • Use a self-hosted JMeter engine for full control:

    Azure Load Testing runs in sandboxed environments, so custom log files like View Results Tree aren't saved. For full access to logs, run JMeter in your own Azure VM or container.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.