Mitch Mitch - 8 months ago 40
Java Question

Are complex test scenarios with JMeter possible?

I need to run performance tests on a web application and was wondering if the following can be accomplished with Apache JMeter.

I need to simulate approximately 300 users accessing an application over a set time frame (e.g. 300 users over 10 minutes) and doing some actions, for example:

  • Logging in

  • Navigating to different pages

  • Inputting data

  • Submitting forms

I'm quite new to JMeter and performance testing in general and was wondering if this is possible? Otherwise are there any better (free) alternatives?

Many thanks.

Answer Source

Of course, it is possible using JMeter.

I would recommend using JMeter/ Blazemeter Chrome extension. BlazeMeter's Chrome extension let you test your application without prior scripting knowledge. It is very easy to create a test with BlazeMeter's Google Chrome extension. Here are some blogs that will help or guide you to use Chrome extension and forth.

There is another option, that is JMeter build in Test Script Recorder. Go through This thread for further detail.

Follow any one of the two procedures to record your scenario and then customize the imported script according to your requirement.

  1. First, record your scenario using Chrome Extension.

  2. Import the generated .jmx file to your Jmeter.

  3. Configure the Test plan according to your requirement.