Search code examples
performanceapijmeterload-testingstress-testing

How to load test Sign Up API using Jmeter for 100 users where mobile number & email are unique


I have to perform load test on a Sign UP API using Jmeter. Sign Up asks for:

  1. valid cell # where system sends SMS code for verfication
  2. Valid Email address where user receives a link for verification

Can any one help for this scenario.

Thanks in advance.


Solution

    1. It might be tricky, however you can consider a 3rd-party application like Spikko or 2nr and use mobile automation framework like Appium from JSR223 Test Elements in order to get SMS text from the mobile application. If you don't have a real phone you can use an emulator like Bluestacks or Genymotion
    2. For email it is way easier, JMeter comes with Mail Reader Sampler so you can fetch an email from any real box and extract confirmation URL from there, check out How to Create a JMeter Script to Check Email During Registration AND Grab the Confirmation URL for more details.