Quality Testing

Quality is delighting customers

Performance testing of cloud based web application using Jmeter

Does Jmeter supports performance testing of cloud based web application?

If yes,then how can we perform it in Jmeter?

Views: 614

Reply to This

Replies to This Discussion

The short answer is "Yes".

JMeter doesn't know what is the technology behind the application under test, all it does is sending HTTP requests and measuring response time. 

The approach shouldn't be different from "normal" applications load testing:

  1. Record your test "skeleton" using HTTP(S) Test Script Recorder
  2. Perform correlation if required
  3. Run your test with 1-2 users using View Results Tree Listener to ensure that the test is working fine
  4. Add more virtual users
  5. Run your test
  6. Analyse results

Thanks for your kind reply.

I will try the same approach as for web application for cloud based web application and will see what Jmeter does.

Yes it supports.

Step 1. Create a Perforance Test Plan

Add Thread Group

  1. Start JMeter
  2. Select Test Plan on the tree
  3. Add Thread Group

Step 2.  Adding JMeter elements

  • HTTP request Default

This element can be added by right-clicking on the Thread Group and selecting: Add -> Config Element .

  • HTTP Request

Right-click on Thread Group and select: Add -> Sampler -> HTTP Request.

Step 3. Adding Graph result

Right click Test Plan, Add -> Listener -> Graph Results

Step 4. Run Test and get the test result

Press Run button (Ctrl + R) on Toolbar to start the testing process

Now small warning: If the web application is SaaS (e.g. Google Docs, Office 365, SalesForce), you should ask the permission for testing. Bug in your test script can cause severe problems for other users. Also the service provider can see your testing as Denial of Service attack, and block your access to the service. In that kind of case you should co-operate with the support of service provider. 

And then the risk aspect should consider also. If there is e.g. less than 1000 users, and service is by large provider (e.g. SalesForce or Office 365) the performance related risks are minor. 

Then if the service provider is infrastructure or platform provider (IaaS or PaaS) and the application is developed by the organization which you are working with, you should talk with them about the costs related risks. During performance testing the resources are consumed more than normally in very short time. That causes extra costs even in major way. E.g. if the system is auto scaling with load balancing, after the heavy traffic there might be many unnecessary servers still running. 

Then about JMeter: If it's web application (or almost any http(s) based actually) it doesn't matter how the application is provided. Skilled tester can also test other protocols with JMmeter. The key aspect anyway is the protocol - not how the application is provided. 

RSS

TTWT Magazine


Advertisement

Advertisement

Advertisement

Advertisement

© 2021   Created by Quality Testing.   Powered by

Badges  |  Report an Issue  |  Terms of Service