Your Query returned 8 results
- How to use resources
- Jython and generic GroovySome users want to use txt or xml files to externalize the resources from scripts. For example, if you have a bunch of user ids and need to test some system with those ids, keeping all ids in the script is not realistic. Instead, you can use re...
- How to adjust logger level
- Whenever a script calls the HTTP GET/POST method, each HTTP call is recorded at the log files in the agent's side. A log files are created per process and threads belonging to a process use a single log file. Logs can be huge(Giga byte size) depending on how many time...
- How to parse JSON
- nGrinder 3.1.1 contains json.jar, one of most famous Json parser(provided from www.json.org). You can easily parse json string with this library. You can use this like the following. JYTHON from org.json import JSONObject
message = """
"title": "example glossary",
- How to parse XML
- Sometimes it’s necessary to analyze data returned from server and put the value to another request. Actually, we don’t recommend to use “Parsing” because it’s very expensive processing and eventually decrease the whole agent performance. It’s always better to use regular ex...
- How to change DNS
- From nGrinder 3.3, multiple DNS entries to a single host name simulates L4 round-robin behavior.
Custom DNS If you need to call the target server with a domain name which is not registered in DNS server, usually this is done by adding the host entry in /etc/hosts. How...
- How to ramp up by threads
- If you're using previous nGrinder 3.2.X version. See Thread ramp up by script
Thread ramp up by perf test configuration
In addition to the process ramp up which the underlying The Grinder engine provides, nGrinder 3.3 supports the thread ramp up. Because the process is t...
- How to run the multiple tests with different weight
- The real user is not simple. There might have multiple usage scenarios for the target system. If you want to simulate this on The Grinder script, you may need to run multiple tests with different weight. With following The Grinder script technique, it’s possible to simulate ...
- How to handle the big response
- Some performance testing script may return a significant amount of response. This situation occurs when you try to download the file and test video in the script especially. Because nGrinder is configured to use at maximum 1GB memory per one process, the each thread can use...