Your Query returned 20 results
- How to bind native libraries
- Some companies(especially game company) uses C/C++ more than java. They uses the native libraries for communication between clients and servers. They don’t know Java much which nGrinder is built on and want to reuse existing their native asset as much as possible. nGrinder has ...
- Import Groovy Maven Project in IntelliJ
- JetBrain IntelliJ IDEA is the most excellant IDE in the Java world and a lot of open source developers are adopting it in their daily life tools. Recently nGrinder dev team switched the IDE from Eclipse to IntelliJ as well. IntelliJ is the quite good match to n...
- Groovy Maven Structure
- When you run the groovy maven project, it might take time to run the test at the first time. It's because maven project requires to download the related libraries from maven repo. Please be patient. :-).
If you choose to use Groovy Script when you create a script, it wo...
- 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...
- Scripting Guide
- nGrinder 3.2 and later supports 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 ...
- Groovy Script 
- nGrinder 3.2 supports Groovy as a another 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 existing development experiences with JUnit a...