How to login a page using JMeter?



  • I wanted to login my page using JMeter, i have used login config element with appropriate username and password, but it doesn't work. So please help me and guide me to solve this problem.



  • Try recording your test script using the blazemeter's chrome extension. Once you have recorded the script download the jmx file and load it in jmeter and run your test.

    UPDATE (from comments): The script is not chrome-specific. It records the script in jmx which is the file format in which the jmeter test plans are saved, so once recorded you can edit it and use it with jmeter.

    Blazemeter is not free but you can sign up for a free user account. The chrome extension used to record script is free and by logging in with your free account you can download the recorded script.

    Check his tutorial for an easy tutorial - https://www.patelmilin.com/blog/testing/tools/performance-testing-with-jmeter.html


Log in to reply
 

Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2