forked from gatling/gatling
-
Notifications
You must be signed in to change notification settings - Fork 0
Migrating
BluePyth edited this page Mar 23, 2012
·
6 revisions
No sweat: you can easily convert them into Scala format:
- change extension to .scala
- surround your simulation with the following code to make it a scala class :
import com.excilys.ebi.gatling.core.Predef._
import com.excilys.ebi.gatling.http.Predef._
import com.excilys.ebi.gatling.jdbc.Predef._
class YourSimulationName extends Simulation {
def apply = {
YOUR SIMULATION COMES HERE
}
}
- replace "runSimulations" by "List"
Same thing above, you have to wrap your existing code with an apply method and return a List.
-
eq
becomesis
-
neq
becomesnot
The recorder is no longer an ubber jar, so it is now located in the lib directory. As it depends on other libraries, it is now to be launched from the recorder.sh/bat located in the bin directory.
- Introduction
- Underlying Technologies
- Concepts
- Benchmarks
- Sponsors
- Changelog
- Migrating
- License
- FAQ
- Contributing
- Links
- Tutorial
- Reference
- Cookbooks
- Retry
- Scaling out
- Passing parameters
- Webservices
- Extensions
- General information
- APIs
- Checks API
- Request API
- Charting API
- Feeder API