This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<jmeterTestPlan version="1.2" properties="5.0" jmeter="5.2.1"> | |
<hashTree> | |
<TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="Test Plan" enabled="true"> | |
<stringProp name="TestPlan.comments"></stringProp> | |
<boolProp name="TestPlan.functional_mode">false</boolProp> | |
<boolProp name="TestPlan.tearDown_on_shutdown">true</boolProp> | |
<boolProp name="TestPlan.serialize_threadgroups">false</boolProp> | |
<elementProp name="TestPlan.user_defined_variables" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> | |
<collectionProp name="Arguments.arguments"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package qaload | |
import java.text.SimpleDateFormat | |
import java.util.Calendar | |
import io.gatling.core.Predef._ | |
import io.gatling.http.Predef._ | |
import scala.concurrent.duration._ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package io.qaload.gatling.reportExample.simulation | |
import io.gatling.core.Predef.{constantConcurrentUsers, nothingFor, _} | |
import io.gatling.core.structure.ScenarioBuilder | |
import io.qaload.gatling.reportExample.process.SimpleScenario | |
import io.qaload.gatling.reportExample.setting.Protocol | |
import scala.concurrent.duration._ | |
import io.gatling.core.Predef._ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package io.qaload.gatling.reportExample.setting | |
import com.softwaremill.quicklens | |
import io.gatling.core.Predef._ | |
import io.gatling.http.Predef._ | |
import io.gatling.http.protocol.{HttpProxy, Proxy} | |
import com.softwaremill.quicklens._ | |
import io.gatling.http.client.proxy.ProxyServer | |
import scala.concurrent.duration._ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
cat /tmp/template.json | awk '{ if ($0 ~ ".*{uuid}.*") { N=N+1; pattern="\\1{uuidprefix}" sprintf("%05d", N) "\\2"; print gensub(/(.*){uuid}(.*)/, pattern, "g", $0) } else { print $0 } }' > /tmp/template.new.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
schema = { | |
"type": "object", | |
"properties": { | |
"result": { | |
"type": "array", | |
"items": { | |
"type": "object", | |
"properties": { | |
"licenceId": { "type": "string" }, | |
"licenceNum": { "type": "string" }, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package simulations | |
import io.gatling.commons.validation.Validation | |
import io.gatling.core.Predef._ | |
import io.gatling.core.action.{RequestAction} | |
import io.gatling.core.action.builder.ActionBuilder | |
import io.gatling.core.session.{Expression, Session} | |
import io.gatling.core.structure.ScenarioContext | |
import io.gatling.core.action.Action |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>info.loadtestweb</groupId> | |
<artifactId>jmeter-test</artifactId> | |
<version>0.1.0</version> | |
<name>jmeter-benchmark</name> | |
<description>Apache.JMeter test</description> | |
<properties> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://repo.maven.apache.org/maven2/com/github/scribejava/scribejava-apis/2.5.3/scribejava-apis-2.5.3.jar | |
https://repo.maven.apache.org/maven2/com/github/scribejava/scribejava-core/2.5.3/scribejava-core-2.5.3.jar | |
https://repo.maven.apache.org/maven2/com/google/code/gson/gson/2.6.2/gson-2.6.2.jar | |
https://repo.maven.apache.org/maven2/com/sun/xml/bind/jaxb-osgi/2.2.10/jaxb-osgi-2.2.10.jar | |
https://repo.maven.apache.org/maven2/commons-codec/commons-codec/1.9/commons-codec-1.9.jar | |
https://repo.maven.apache.org/maven2/io/rest-assured/json-path/4.0.0/json-path-4.0.0.jar | |
https://repo.maven.apache.org/maven2/io/rest-assured/rest-assured-common/4.0.0/rest-assured-common-4.0.0.jar | |
https://repo.maven.apache.org/maven2/io/rest-assured/rest-assured/4.0.0/rest-assured-4.0.0.jar | |
https://repo.maven.apache.org/maven2/io/rest-assured/xml-path/4.0.0/xml-path-4.0.0.jar | |
https://repo.maven.apache.org/maven2/javax/activation/activation/1.1.1/activation-1.1.1.jar |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
filestat,file=/home/x1337/Project/playframework/logs/*.log,host=CodeRHost exists=0i 1536533195000000000 | |
filestat,file=/home/x1337/Project/playframework/logs/*.json,host=CodeRHost exists=0i 1536533195000000000 | |
system,host=CodeRHost load5=1.75,load15=1.21,n_cpus=8i,n_users=1i,load1=0.79 1536533195000000000 | |
net,host=CodeRHost,interface=enp2s0 bytes_recv=229141i,packets_sent=306i,packets_recv=274i,err_in=0i,err_out=0i,drop_in=0i,drop_out=0i,bytes_sent=46857i 1536533195000000000 | |
net,host=CodeRHost,interface=lo err_out=0i,drop_in=0i,drop_out=0i,bytes_sent=1400820i,bytes_recv=1400820i,packets_sent=8922i,packets_recv=8922i,err_in=0i 1536533195000000000 | |
kernel,host=CodeRHost boot_time=1536532732i,processes_forked=5928i,entropy_avail=3569i,interrupts=334535i,context_switches=801547i 1536533195000000000 | |
interrupts,device=2-edge\ timer,host=CodeRHost,irq=0,type=IR-IO-APIC CPU0=9i,CPU1=0i,CPU2=0i,CPU4=0i,CPU5=0i,CPU6=0i,total=9i,CPU7=0i,CPU3=0i 1536533195000000000 | |
interrupts,device=1-edge\ i8042,host=CodeRHost,irq=1,type= |