Question

is there a possibility to perform load testing with casperJS/phantomJS? I haven't found out anything about this. My exact situation is that I should test a Webproject in my company. Is there a possibility to simulate many users accessing this site simultaneously with casperJS/phantomJS?

Thank you and regards, Alex

Was it helpful?

Solution

In my opinion, casper and phantom are not really meant for load testing - they are meant for testing your frontend code, making sure that the right thing happens when you press a button, etc.

For load testing I would recommend a dedicated benchmarking tool, such as apache bench (comes with your apache installation, so if you have wamp intalled you already have it). It measures the load time of each page, and gives you various statistics about the requests such as fastest, slowest, normal distribution etc.

OTHER TIPS

Check out https://loadbooster.com/

You can use CapserJS and phantomJS to distribute tests.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top