1

I am trying to test a list of sites with Jmeter.

I need to test a list of links from various sites using jmeter. The files are in a Excel column and I need to know their response time.

How do I accomplish this using jmeter?

Thanks

  • 1
    Do you want to test only response time as single user or under load? If you want to see only response time of the sites as single user, then you can use gtmetrix.com – Bhavani Jan 16 '18 at 17:35
  • The response times you want to know, is that inclusive css, js, images and AJAX calls? – Patrick Jan 16 '18 at 18:17
  • Have a look here: asking. You likely get down votes for no research, no code and not trying. It seems like an homework question... – Ray Oei Jan 16 '18 at 19:22
1
  1. Export your Excel file to CSV file, i.e. urls.csv and copy it to "bin" folder of your JMeter installation
  2. Create an empty JMeter Test Plan
  3. Add Thread Group to your Test Plan and set "Loop Count" to -1 (or tick "Forever" box)

    JMeter Thread Group

  4. Add CSV Data Set Config inside the Thread Group and configure it as follows:

    JMeter CSV Data Set Config

  5. Add HTTP Request sampler to your Test Plan and configure it like:

    JMeter HTTP

  6. Add View Results in Table listener to your Test Plan and run your test. You should see URLs, response time, and few other metrics in the listener.

    JMeter View Results Table

|improve this answer|||||
  • Will that fetch images, css files, js files and perform AJAX calls? – Patrick Jan 16 '18 at 18:09
  • 1
    No and no. For images, styles, scripts, fonts, etc. there is a checkbox Retrieve All Embedded Resources from HTML Files at "Advanced" tab of the HTTP Request sampler. AJAX requests needs to be defined in the same (or another) CSV file and put under Parallel Controller. – Dmitri T Jan 16 '18 at 18:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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