I have a JMeter script that runs well on my computer but not in Azure load test

Aravind Hande 0 Reputation points
2023-12-06T02:38:53.94+00:00

In one of the earlier HTTP samplers I use a Regular expression to extract a variable.

I then pass that variable in the next GET request as a query string parameter.

https://www.mysite.com/test.aspx?ID=${myExtractedVariable}

In my local JMeter runs, I can see the extracted variable value using a Debug sampler and then the next request works well with the extracted variable passed in as a URL query string parameter.

This chokes when exported to Azure load test. My whole tests revolve around lots of regular expression extractors and using these variables in subsequent GET and POST requests.

Azure load test chokes with a Non HTTP response code: java.net.URISyntaxException error.

This is a product not ready for prime time despite how Microsoft boasts about it. There is a dearth of samples. It is laughable really. No good documentation on all the things that work well in JMeter but chokes when run in Azure load test.

I don't have months to figure this all out. Good documentation and samples would help.

Azure Load Testing
Azure Load Testing
An Azure service that enables developers and testers to generate insights on how to improve the performance, scalability, and capacity usage of their application
74 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Satya Palathirthapu 0 Reputation points
    2025-02-20T17:13:55.72+00:00

    Any solution for this problem ?

    I'm also facing the same problem. Regex is failing in Azure Load testing. This works well from the local JMeter copy.

    My regex is : data/v9.0/contacts((.*?)) and I'm trying to capture from the response header.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.