The perfMon output graph has IP of the server being monitored in the legend. Is there an option to change this to a meaningful name (like DBServer_Dev, WebServer_Dev) so the legend is more readable?
The perfmon output graph displays either IP or DNS hostname of the machine you configure in the PerfMon Metrics Collector
If DNS hostnames are not informative enough you can i.e. use hosts file and create your custom bindings between "meaningful names" and IP addresses
More information just in case: How to Monitor Your Server Health & Performance During a JMeter Load Test
Related
I have my load generators in different VLAN's .Which I want to connect and perform Load Tesing .Kindly Suggest ways to achieve this?
I had done Jmeter distributed testing in same VLANs making 1 Master and 10 slaves . But in different VLANs I am unable to achieve this.
JMeter master communicates with slaves using RMI which works on top of TCP/IP
It means that JMeter master needs to be able to reach the slave and vice versa. Slaves don't have to "see" each other.
So you either need to set up routing between VLANs or connect master and all the slaves which are not in the same VLAN as the master to the VPN, the fastest and the easiest option is most probably Wireguard, and use tun/tap interfaces instead of normal NIC IP addresses.
More information:
Apache JMeter Distributed Testing Step-by-step
How to Perform Distributed Testing in JMeter
Remote hosts and RMI configuration
I need to connect and send request for websocket from different IPs in jmeter to my singalR server. How can I do it. I know in case of HTTP request we can do that in jmeter by creating multiple IP addresses alias on the machine as mentioned in the link https://www.blazemeter.com/blog/how-to-send-jmeter-requests-from-different-ips.
How this process will work for websockets.?
Thanks.
It will not as the possibility to set outgoing IP address needs to be present in the WebSocket plugin you're using.
Currently available solution is to allocate as many machines as IP addresses you need and run JMeter in distributed mode. If a single machine is powerful enough you can kick off several JMeter slave processes there, keep in mind that:
you need to have these IP addresses (or aliases) defined at OS level
you need to bind the slaves to different ports
If you can do Java programming you can add it yourself, the project lives at https://github.com/ptrd/jmeter-websocket-samplers, somewhere here
If you cannot - you can ask the plugin developer to add this feature either via GitHub or try reaching out to him via JMeter Plugins Support Forum
I am trying to invoke distributed load testing with jmeter (Which have 3 ips in it) and it is running in only one ip. Will other ips also run in the background or they won't even start?
If you have a Distributed JMeter Test architecture with 1 master and 3 slaves my expectation is that each JMeter slave has its own IP address so you should see requests coming from 3 different IPs to the system under test.
If you need to mimic more IP addresses - there is "Source address" section which lives under "Advanced" tab of the HTTP Request sampler where you can specify the desired outgoing IP address.
But be aware that the IP address (or its alias) must exist on the operating system level in order to be used at this field so you need to ensure that all source IP addresses you're going to use exist and are usable by JMeter.
Check out Using IP Spoofing to Simulate Requests from Different IP Addresses with JMeter for comprehensive information and example configurations
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
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
See Using IP Spoofing to Simulate Requests from Different IP Addresses with JMeter for more details.
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/
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.
I have a load balancer and I want to test the performance of the load balancer. I am using Apache JMeter to test the load balancer. I need to change my IP address so that the client IP is always different. My uni doesn't allow me to add multiple IP addresses (IP spoofing / IP alias).
So, the other option is to use a proxy server. Is there a way to use 2 or more proxy server in JMeter at one go? I can only specify one proxy server at a time at the moment.
Is there a way to turn it around?
You can use "Server name /IP" configuration in "HTTP Request" sampler. But those IPs should belong to same network. You cant set jmeter with different Geo locations.