I'm pretty new to jMeter but knows the basics pretty well. I got a task to perform a loading test which goes like that:

  • User navigate to HomePage of responsive application.
  • User perform login via Google account.
  • User play few games (Its like a trivia game)
  • User reach to the last screen.

I have managed to record the whole login and user scenarios using BlazeMeter addon. When i run the test the few first request are OK, but the one related to google API login is getting error 400.

How can i overcome this? Do i need to generate an auth token? if so, how to do it? I'm really hopeless. Thanks in advance...

1 Answer 1


User perform login via Google account

According to Using OAuth 2.0 to Access Google APIs you either need to implement the OAuth sign-in process using JMeter or if you have valid Authorization Bearer token you can just add it using JMeter's HTTP Header Manager as this sign-up using a Google Account is not something you need to test, you must focus solely on your application functionality.

In case if you don't have token(s) and have to go via the OAuth flow check out How to Run Performance Tests on OAuth Secured Apps with JMeter article for possible solutions.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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