I have a Java code for OAuth 1.0 Authentication and each time i have to execute it before testing each request. I am currently working on JSR223 sampler.
But happen to see this OAuth 1.0 Plugin, can someone explain me how this OAuth 1.0 based Authentication in the screenshot works.
I have some parameter value to be passed in the Authorization header output example given below for each request.
For the first URL, I have two parameter
- Key
- Secret Key
Which give the Access token and secret access token for the Second URL and for the third it will add
- request Payload
- Status
without these the request will fail.
My output code looks like the below in Eclipse:-
Authorization :OAuth oauth_signature="Dynamic Value",scope="Parameter Value",oauth_version="Dynamic Value",oauth_nonce="Dynamic Value",oauth_signature_method=HMAC-SHA1,oauth_consumer_key="Parameter Value",oauth_token="Dynamic Value",oauth_timestamp="Dynamic Value"
Is there a way that i run the piece of Java code directly with all the Jar files in Jmeter [without doing any changes] is that possible?
OAuth 1.0 Plugin