Open Source RDBMS - Seamless, Scalable, Stable and Free

한국어 | Login |Register

Documents tagged with ""

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...
    http://www.cubrid.org/wiki_ngrinder/entry/groovy-maven-structure
  • 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
  • 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...
    http://www.cubrid.org/wiki_ngrinder/entry/scripting-guide
  • 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
  • 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...
    http://www.cubrid.org/wiki_ngrinder/entry/groovy-script
  • 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. ...
    http://www.cubrid.org/wiki_ngrinder/entry/import-groovy-maven-project-in-ide
  • 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