Thanks for the video! It's great. I have a query regarding multiple threads instead of one. I have followed all the steps that have been explained here. however when I increase the threads from 1 to n. I see an issue in that it's not able to pick up new tokens on the expiry of the existing token. Can you please explain if we can overcome this issue?
Thanks for your feedback and comments. Whenever you are using multiple thread group then you need to call individual token in loop controller for each thread group. It will solve this problem. Please let me know if you still face issues
Thanks for the nice video!! I have one doubt, if certificate required to generate access token in postman then how to add these certificate in my jmeter test plan? We got certificate error during reply. Could you please make a video to handle the same or provide the steps how to handle that. Thanks
There is a button on click of which one pop-up opens up to create some data and until I click submit on the pop-up there is no API call. How to handle this in Jmeter so that my API doesn't fail and data is created. Currently I am getting error 415. Please guide
How can we send all the data present in csv file in one go? My request body is below and my requirement is that in the API, I have to send t0, t1....t100 in one go to perform load testing using Jmeter. Please guide!
Thank you so much for your valuable questions. Yes, you can do it. Firstly, you need to collect login api call details from the browser network tab. Once you have the api call , then you can watch my video below to record it. czcams.com/video/kmXaR77G6Bw/video.html
@ganeshnalawade5694 so you need to take a new token before it expires. You need to take a new token every 25th min if your token is expired in the 30th min. Hope this helps.
Thank you so much for your queries. It will work irrespective of GET or POST. I suggest you watch the video carefully will help you ,where you make a mistake.
When we load Url of my project . Microsoft login page appear and has api as ' authorize?client_id' it has a parameter client-request-id from where value is appear . And how to automate through jmeter. Simply asking how to correlate client-request-id. Some says value for client request I'd come from another third party server. Any way to correlate dynamic variable. Thanks and appreciate .
Thanks for your valuable feedback . yes you can extract the Client -request-id in runtime by JSON parser if you are using rest api. then you can pass the value to subsequent api in your test. Hope this helps you.
Hi We need to get Access Token 100 users using OAuth 2.0 authorization code flow where we need to Automate the Process of entering username and password. And for each access token we need make an API Call. Can you share your thoughts on how to achieve this.
Thanks for watching and sharing your query. Please watch my next video which have the solution for your problem. you need to use csv file to keep all your user details and read one by one . Please try this solution and let me know how it goes for you!! Happy Learning!! czcams.com/video/fuh-8fSsDYw/video.html
Can u pls explain this. If the token is going to expire in 10minutes but the test to be run for 20 min. In this case we need to regenerate the token just before every 10min to continue our test with out auth errors. How this can be done? This is the actual challenge. Thanks in advance if u can provide a way for this.
Thanks for watching and sharing your questions. Please watch my part2 , where I had explained the solution for this. Please watch and let me know if you still have any outstanding questions. Love to hear from you
Thank you so much for watching and the request. As I am using my personal credentials for getting Auth token , it's not good practice to share. I will recommend using open source auth2 like github or zoho's token with your credentials and use for practice. Hope it's helpful to you.
Hello Rocy. Thanks for your comment. As the auth request is inside the Once only controller , it will automatically take the token whenever your token got expire. This generic script will work directly without any changes for your scenario. Please do le me know , if you still face any issue.
You can use Simple Controller for Auth Generation & Runtime Controller for Rest of Requests. Keep Runtime Controller for Less than your Token Expiry Time & Use No. of Loops in Thread Group to achieve Duration of Test.
Hello Rocky. I have prepared a Video as per your requiment. please watch this and let me know your feedback. Happy Learning!! czcams.com/video/fuh-8fSsDYw/video.html
Thanks for your comment. There are lot of open API market like (facebook,zoho) which you can use for your practice. visit this site rapidapi.com/collection/list-of-free-apis
@@sdetbytehackers4085 sir sorry for interrupting in my case I don't have accesses_token and the Authorization = " basic token value" in your video you put in JMeter these 2 values interrupt me
Hello Haider. We are getting the Access_token value from Auth token response where as Authorization = Basic Auth value which pass in Auth api header. Hope it's clear now. You design the same format api structure in jmeter how it works in postman.
Great Devi!! It’s a great effort! Nicely complied and with right pace.
Thank you so much for your valuable feedback.
No words you save my life save my project there is no realtime API jmeter project like this absolutely awsome
I am really thankful for your feedback. I am happy that you identified the value from this video.
Already subscribed!!! Thanks a lot for your wonderful work, keep up the work forever :)
Thank you so much, i was cracking my heard in this all day, you saved my life, thank you so much!!!!!
Very use videos.. lots of gratitude 🙏
Thank you so much for your valuable feedback
Thank you so much for the tutorial. My issue was resolved by following this tutorial.😊
Wow. It's good to hear. Thank you so much for going over the video and shared your feedback. Love that it's helped you. Happy Learning 😊
Thanks a lot for this clear step by step video !
Thanks for your valuable feedback. 👍
Thank you very much for this awesome and clear presentation.
Thank you so much for your valuable feedback
Thank you, very helpful, and accurate
I am really thankful for your valuable feedback.
Thanks for the video! It's great. I have a query regarding multiple threads instead of one. I have followed all the steps that have been explained here. however when I increase the threads from 1 to n. I see an issue in that it's not able to pick up new tokens on the expiry of the existing token. Can you please explain if we can overcome this issue?
Thanks for your feedback and comments. Whenever you are using multiple thread group then you need to call individual token in loop controller for each thread group. It will solve this problem. Please let me know if you still face issues
Thanks for the nice video!!
I have one doubt, if certificate required to generate access token in postman then how to add these certificate in my jmeter test plan? We got certificate error during reply. Could you please make a video to handle the same or provide the steps how to handle that. Thanks
There is a button on click of which one pop-up opens up to create some data and until I click submit on the pop-up there is no API call.
How to handle this in Jmeter so that my API doesn't fail and data is created.
Currently I am getting error 415. Please guide
How can we send all the data present in csv file in one go?
My request body is below and my requirement is that in the API, I have to send t0, t1....t100 in one go to perform load testing using Jmeter. Please guide!
"target": [
{
"code": "XY",
"country": "US",
"deptType": "Sales",
"id": "t0"
},
{
"code": "GI",
"country": "US",
"deptType": "Engineering",
"id": "t1"
}
]
}
for all the transacations do we need to add https header manager ?
Hi sir can you please upload a video on how to add secure hash Sha 256 in jmeter
Thank you so much for your request. Will soon prepare a video for your request. Hope you enjoyed the content
I was looking this for long time
I am really thankful for your feedback.
❤
I am using cognito for authentication
Is it possible to record a script of login page using jmeter ??
Thank you so much for your valuable questions. Yes, you can do it. Firstly, you need to collect login api call details from the browser network tab. Once you have the api call , then you can watch my video below to record it.
czcams.com/video/kmXaR77G6Bw/video.html
U didn't shown how that auth token to be refreshed in middle of test. That's what the video heading mean I think.
Thanks for watching the video. I would recommend you to revisit the video and watch carefully how the time stamp setup
Watch the part2 video. czcams.com/video/fuh-8fSsDYw/video.htmlsi=d0J_n8E0S_0DbSfi
How to do a OAuth 2.0 authentication in JMeter?
But after 30 min again genrate new token but sampler is running continue.. How will mange this
@ganeshnalawade5694 so you need to take a new token before it expires. You need to take a new token every 25th min if your token is expired in the 30th min. Hope this helps.
i have same scenario but with post request and it is failing after getting the Auth
Thank you so much for your queries. It will work irrespective of GET or POST. I suggest you watch the video carefully will help you ,where you make a mistake.
Can you make a video to keep the token refreshed automaticall yafter 30 mins of token expiry
Thanks for your comment. Please watch the part 2 video, which is available in my Playlist. Hope it helps you.
When we load Url of my project . Microsoft login page appear and has api as ' authorize?client_id' it has a parameter client-request-id from where value is appear . And how to automate through jmeter. Simply asking how to correlate client-request-id. Some says value for client request I'd come from another third party server. Any way to correlate dynamic variable.
Thanks and appreciate .
Thanks for your valuable feedback . yes you can extract the Client -request-id in runtime by JSON parser if you are using rest api. then you can pass the value to subsequent api in your test. Hope this helps you.
@@sdetbytehackers4085 can you create a video for that
Hi We need to get Access Token 100 users using OAuth 2.0 authorization code flow where we need to Automate the Process of entering username and password. And for each access token we need make an API Call. Can you share your thoughts on how to achieve this.
Thanks for watching and sharing your query. Please watch my next video which have the solution for your problem. you need to use csv file to keep all your user details and read one by one . Please try this solution and let me know how it goes for you!! Happy Learning!!
czcams.com/video/fuh-8fSsDYw/video.html
Can u pls explain this. If the token is going to expire in 10minutes but the test to be run for 20 min. In this case we need to regenerate the token just before every 10min to continue our test with out auth errors. How this can be done? This is the actual challenge. Thanks in advance if u can provide a way for this.
Thanks for watching and sharing your questions. Please watch my part2 , where I had explained the solution for this. Please watch and let me know if you still have any outstanding questions. Love to hear from you
Here is the link czcams.com/video/fuh-8fSsDYw/video.html
hi sir can you share the token with us please? if its only for prractice?
Thank you so much for watching and the request. As I am using my personal credentials for getting Auth token , it's not good practice to share. I will recommend using open source auth2 like github or zoho's token with your credentials and use for practice. Hope it's helpful to you.
Very good video
Really thankful for your valuable feedback
Hi , Thanks for the video . How can we generate the token again after 5 mins, because my token is only valid for 5mins & pass that to GET call .
Hello Rocy. Thanks for your comment. As the auth request is inside the Once only controller , it will automatically take the token whenever your token got expire. This generic script will work directly without any changes for your scenario. Please do le me know , if you still face any issue.
You can use Simple Controller for Auth Generation & Runtime Controller for Rest of Requests.
Keep Runtime Controller for Less than your Token Expiry Time & Use No. of Loops in Thread Group to achieve Duration of Test.
Hello Rocky. I have prepared a Video as per your requiment. please watch this and let me know your feedback. Happy Learning!! czcams.com/video/fuh-8fSsDYw/video.html
Where can i practice this ? Can you please suggest demo api for this
Thanks for your comment. There are lot of open API market like (facebook,zoho) which you can use for your practice. visit this site rapidapi.com/collection/list-of-free-apis
Thanks for reply
Please Share You Postman Collection as well
Hello Haider. This collection is for only demo purposes you can use your project requirement web service URLs for your execution.
@@sdetbytehackers4085 sir sorry for interrupting in my case I don't have accesses_token and the
Authorization = " basic token value" in your video you put in JMeter these 2 values interrupt me
Hello Haider. We are getting the Access_token value from Auth token response where as Authorization = Basic Auth value which pass in Auth api header. Hope it's clear now. You design the same format api structure in jmeter how it works in postman.
@@sdetbytehackers4085 okay sir I'll check it
Thank you so much for your consideration and attention and for your giving me a precious time
It's my pleasure 🙏