Kamil Nękanowicz
Kamil Nękanowicz

Reputation: 6532

JMeter can I run it locally?

In my opinion, load tests should be performed from several different IP addresses simultaneously(because of restrictions on http). Am I right?

I will do load tests for: Number of Threads (users): 2000 Ramp-Up Period (in seconds): 10

Upvotes: 1

Views: 2072

Answers (3)

Dmitri T
Dmitri T

Reputation: 167992

The load doesn't necessarily have to come from different IP addresses however depending on your application nature it might be required (for example application does explicit check of origin IP address or lives behind a load balancer with session stickiness based on IP addresses or whatever)

In this case you can perform IP spoofing so each request would come from the different IP address, you can configure source IP address under "Source address" input on the "Advanced" tab of the HTTP Request sampler

HTTP Request JMeter Source Address

See Using IP Spoofing to Simulate Requests from Different IP Addresses with JMeter for more details.

Upvotes: 2

Ori Marko
Ori Marko

Reputation: 58774

To perform load test in serveral different IP address use Jmeter remote test

control multiple, remote JMeter engines from a single JMeter client. By running JMeter remotely, you can replicate a test across many low-end computers and thus simulate a larger load on the server.

Upvotes: 1

tomaytotomato
tomaytotomato

Reputation: 4028

Yes you can run JMeter locally, it can be run anywhere that has a Java Virtual Machine.

Another alternative if you are interested is Gatling http://gatling.io/

Upvotes: 1

Related Questions