Skip to content

Commit a2ffa2c

Browse files
authored
Merge pull request #612 from topcoder-platform/connect-performance-testing
Include Unit test to the circleci config file
2 parents 2d2ab63 + 8c062b8 commit a2ffa2c

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.circleci/config.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ deploy_steps: &deploy_steps
4040
./master_deploy.sh -d ECS -e $DEPLOY_ENV -t latest -s ${LOGICAL_ENV}-global-appvar,${LOGICAL_ENV}-${APPNAME}-appvar -i ${APPNAME}
4141
4242
jobs:
43-
test:
43+
UnitTests:
4444
docker:
4545
- image: circleci/node:12.16.1
4646
- image: circleci/postgres:9.6.2-alpine
@@ -144,13 +144,19 @@ workflows:
144144
version: 2
145145
Connect Project Services:
146146
jobs:
147+
- UnitTests:
148+
context : org-global
147149
- deployDev:
148150
context : org-global
151+
requires:
152+
- UnitTests
149153
filters:
150154
branches:
151155
only: ['develop', 'connect-performance-testing']
152156
- deployProd:
153157
context : org-global
158+
requires:
159+
- UnitTests
154160
filters:
155161
branches:
156162
only: ['master']

src/test/jmeter/15UV Ultimate Thread-Group.jmx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,10 @@ start up time/ramp-up time = Shutdown time/ramp-down time of the previous record
204204
</collectionProp>
205205
</HeaderManager>
206206
<hashTree/>
207+
<DurationAssertion guiclass="DurationAssertionGui" testclass="DurationAssertion" testname="Duration Assertion" enabled="true">
208+
<stringProp name="DurationAssertion.duration">100</stringProp>
209+
</DurationAssertion>
210+
<hashTree/>
207211
</hashTree>
208212
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Access Projects" enabled="true">
209213
<elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">

0 commit comments

Comments
 (0)