Your Query returned 13 results
- Groovy Maven Structure
- If you choose to use Groovy Script when you create a script, it works simular to Jython script except the JUnit styled test cases. However if you want not only to use Groovy but also to execute JUnit runner in your IDE or easily configure dependencies, you can choose...
- 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",
- Scripting Guide
- nGrinder 3.2 or later support not only Jython but also Groovy as scripting language. If you want to know about Groovy scripting, please refer [Groovy Script]
You can see various The Grinder script samples.
You can check The Grinder APIs.
More practical ways for the ad...
- 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...
- 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...
- Groovy Script
- nGrinder 3.2 supports Groovy as scripting language. It’s not a just replacement of jython but also new test script development model. When you decide to write scripts with groovy in maven structure, you can reuse the exiting full development experiences from JUnit and Ecl...
- Import Groovy Maven Project in IDE
- Groovy Maven Project is structured for users to easily import the project into IDE. If you already have an IDE which supports Groovy and Maven, you can easily import it. However if you don’t have it yet, please follow the instruction in [Install Groovy IDE] first. ...
- 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...