1

I'm testing an api in Jmeter

When passing the url in postman I get proper response enter image description here

But when use the same in Jmeter I get error enter image description here

The path I'm using:

enter image description here

1 Answer 1

2

Your request payload contains characters which are not allowed to be present in URL so you need to wrap what you put in "Path" section of the HTTP Request sampler into __urlencode() function

More information: Apache JMeter Functions - An Introduction

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

1 Comment

I have figured out the issue that __urlencode is not accpeting curly brackets i.e. {} which are required in the json call

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.