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...
http://www.cubrid.org/wiki_ngrinder/entry/how-to-use-resources
-
- 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...
http://www.cubrid.org/wiki_ngrinder/entry/how-to-adjust-logger-level
-
- 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 = """
{
"glossary": {
"title": "example glossary",
"G...
http://www.cubrid.org/wiki_ngrinder/entry/how-to-use-json-jar
-
- How to change 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. However configuring the tens of agents takes time. So.. nGrinder ships with custom DNS service internally. Inst...
http://www.cubrid.org/wiki_ngrinder/entry/how-to-change-dns
-
- 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...
http://www.cubrid.org/wiki_ngrinder/entry/how-to-parse-xml
-
- How to ramp up by threads
- nGrinder supports the process rampup as a default feature. If a user want to increase the loads step by steps, User can set a number of process and how to increase them at the ramp-up panel in the test configuration page. It’s the process ramp-up. If you like to 10 steps i...
http://www.cubrid.org/wiki_ngrinder/entry/how-to-ramp-up-by-threads
-
- 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 ...
http://www.cubrid.org/wiki_ngrinder/entry/how-to-run-the-tests-in-different-weight
-
- 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...
http://www.cubrid.org/wiki_ngrinder/entry/how-to-handle-the-big-response