config:
target: "http://cldemo.apicasystem.com:8001"
variables:
- random:
as: 'randomTeamId'
scope: 'loop'
from: 1
to: 32
leadingZeroes: false
scenarios:
-
name: "CLDemo_GameService"
flow:
-
page:
name: "GetAllGamesByTeamId"
thinktime: 1
-
post:
url: "/CheckGamesService.svc"
#before:
# - plugin:
# file: 'CombineEnrichRequest.class'
body: |
http://cldemo.apicasystem.com:8001/CheckGamesService.svc
http://tempuri.org/ICheckGamesService/GetAllGamesByTeamId
{{randomTeamId}}
false
capture:
- boundary:
leftboundary: ''
rightboundary: ''
as: 'gameId'
headers:
SOAPAction: '"http://tempuri.org/ICheckGamesService/GetAllGamesByTeamId"'
Content-type: "application/soap+xml; charset=utf-8"
-
page:
name: "RemainingTicketsPerGameId"
thinktime: 1
-
post:
url: "/CheckGamesService.svc"
#before:
# - plugin:
# file: 'CombineEnrichRequest.class'
body: |
http://sesthbwb09p.apica.local:8001/CheckGamesService.svc
http://tempuri.org/ICheckGamesService/RemainingTicketsPerGameId
{{gameId}}
true
headers:
SOAPAction: '"http://tempuri.org/ICheckGamesService/RemainingTicketsPerGameId"'
Content-type: "application/soap+xml; charset=utf-8"