How to use jmeter to pass api-token
I have an api which has certain attributes including user id and api-token. I get the api token and user id when I login using verified user and I can use this api to submit attributes successfully but If I change the user id, it does not submit the api because api-token is different for that user id and I do not know it.
Developer says, it can't be done but I think there is a security flaw just I am not able to detect it.
How should I use regular expression extractor to pass the api-token field with different user id or if there is any other way to do this using jmeter.
Please help me.
Thank you.
|