Skip to content

Commit 58fe4bd

Browse files
committed
Build gatling test from source.
1 parent a12123f commit 58fe4bd

File tree

6 files changed

+50
-0
lines changed

6 files changed

+50
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ tests/dat/actions/python2_virtualenv.zip
8181
tests/dat/actions/python_virtualenv/virtualenv
8282
tests/dat/actions/.built
8383
tests/dat/actions/unicode.tests/java-8.bin
84+
tests/performance/gatling_tests/src/gatling/resources/data/javaAction.jar
8485

8586
# dev
8687
intellij-run-config.groovy

tests/dat/actions/build.sh

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jv=$(java -version 2>&1 | head -1 | awk -F'"' '{print $2}')
2828
if [[ $jv == 1.8.* ]]; then
2929
echo "java version is $jv (ok)"
3030
(cd unicode.tests/src/java/unicode && ../../../../../../../gradlew build && cp build/libs/unicode-1.0.jar ../../../java-8.bin)
31+
(cd ../../performance/gatling_tests/src/gatling/resources/data/src/java && ../../../../../../../../../gradlew build && cp build/libs/gatling-1.0.jar ../../javaAction.jar)
3132
else
3233
echo "java version is $jv (not ok)"
3334
echo "skipping java actions"
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one or more
3+
* contributor license agreements. See the NOTICE file distributed with
4+
* this work for additional information regarding copyright ownership.
5+
* The ASF licenses this file to You under the Apache License, Version 2.0
6+
* (the "License"); you may not use this file except in compliance with
7+
* the License. You may obtain a copy of the License at
8+
*
9+
* http://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS,
13+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
* See the License for the specific language governing permissions and
15+
* limitations under the License.
16+
*/
17+
18+
plugins {
19+
id 'java'
20+
}
21+
22+
version = '1.0'
23+
24+
repositories {
25+
mavenCentral()
26+
}
27+
28+
dependencies {
29+
compile "com.google.code.gson:gson:2.6.2"
30+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one or more
3+
* contributor license agreements. See the NOTICE file distributed with
4+
* this work for additional information regarding copyright ownership.
5+
* The ASF licenses this file to You under the Apache License, Version 2.0
6+
* (the "License"); you may not use this file except in compliance with
7+
* the License. You may obtain a copy of the License at
8+
*
9+
* http://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS,
13+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
* See the License for the specific language governing permissions and
15+
* limitations under the License.
16+
*/
17+
18+
rootProject.name = 'gatling'

0 commit comments

Comments
 (0)