I'm absolutely new to Jmeter tool, so the question may be incorrect. I'm trying to send API request which requires Digest auth. I tried to use HTTP Auth manager but it doesn't have all fileds to set, like nonce or opaque. Is there any way how to pass them in request using Jmeter tools?

Thank you in advance for any ideas!


Most probably you are testing an API protected by OAuth therefore:

  • nonce: is basically a number used once so my expectation is that it is a some form of a timestamp so you should be able to generate one using JMeter's __time() function
  • opaque: looking at RFC 6749

    An opaque value used by the client to maintain state between the request and callback. The authorization server includes this value when redirecting the user-agent back to the client.

    so you should get this opaque state value from the previous response.

Check out How to Run Performance Tests on OAuth Secured Apps with JMeter for more information on bypassing OAuth login challenge in JMeter tests.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.