No you don't. OAuth assumes 3rd-party identity provider and you should
be excluding any external resources from your load testing scope.
If you really have to log in via OAuth the "inputs" will depend on the
OAuth version and identity-provider and your application specific
configuration, as you didn't provide anything I can only give the
following piece of advice:
1. OAuth 2.0 - it's just matter of correlation
<https://www.blazemeter.com/blog/how-to-handle-correlation-in-jmeter>
2. OAuth 1.0 - correlation plus calculating the signature, the most
comprehensive document on it I can think of is Twitter API
documentation
<https://developer.twitter.com/en/docs/authentication/oauth-1-0a/creating-a-signature>,
the signature calculation can be done using JSR223 PreProcessor
<https://jmeter.apache.org/usermanual/component_reference.html#JSR223_PreProcessor>
and Groovy language
On 6/15/2022 4:17 PM, Anil Gaur wrote:
Hello All,
I need to handle Oauth authentication for my application using JMeter.
Any Inputs?
Regards,
Anil