import com.github.lion7.jmeter.dsl.JMeterDsl.Companion.jMeter
import org.junit.jupiter.api.Test
import java.net.URI
internal class JMeterDslTest {
@Test
fun simpleTestPlan() {
val testPlan = jMeter {
testPlan {
threadGroup {
mainController {
httpSampler("GET", URI("https://www.google.nl/"))
}
htmlReport {
filename = "jmeter-results.csv"
outputDirectory = "jmeter-report/"
}
}
}
}
testPlan.run()
}
}
-
Notifications
You must be signed in to change notification settings - Fork 0
lion7/jmeter-dsl
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Packages 0
No packages published