- load test
"Test_Plan_Draft"
(globalVars:[],
executeTearDownThreadsOnShutdown: )
Comments:
-
- add headers
"HTTP Header Manager"
(headers:[
{"Accept-Encoding"=
"gzip,deflate,sdch"
,
{"User-Agent"=
"Mozilla/5.0 (iPhone; CPU iPhone OS 8_0 like Mac OS X) AppleWebKit/600.1.3 (KHTML,
like Gecko) Version/8.0 Mobile/12A4345d Safari/600.1.4"
])
- globalVars
"User Defined Variables"
([
"REG_RGS_ROUND_DELAY"
=
"100"
,
"LOGIN_DOMAIN"
=
"https://cppums2-login.crossperf.eu"
,
"CD_ROUND_DELAY"
=
"3500"
,
"DELAY"
=
"500"
,
"REALITY_CHECK_IVL"
=
"5"
,
"API_LINK"
=
"https://pop-mltstg-load.gpas.io:8088/v1"
,
"NETENT_BET_ROUNDS"
=
"25"
,
"GPAS_SERVER_HOST"
=
"malta-stage.gpas.io"
,
"MERCHANT_PASSWORD"
=
"mango"
,
"MERCHANT_ID"
=
"mangomock"
,
"FE_SERVER_PORT"
=
"4805"
,
"WS_CONNECTION_TIMEOUT"
=
"7999"
,
"POP_SYSTEM_ID"
=
"7921"
,
"GP_ID"
=
"pop"
,
"LOCALE_CODE"
=
"en_US"
,
"OAPI_SYSTEM_ID"
=
"7904"
,
"GAMELAUNCHER_URL"
=
"https://gamelauncher-mltstg-load.gpas.io"
,
"PAS_REDIRECT_URL"
=
"http%3A//cache-mango.crossperf.eu/%23requestId%3D${__time(,)}"
,
"CURRENCY_CODE"
=
"EUR"
,
"GPAS_BET_ROUNDS"
=
"37"
,
"ROUND_DELAY"
=
"3000"
,
"RESPONSE_TIMEOUT"
=
"15000"
,
"FE_SERVER_HOST"
=
"cppums2-frontend.crossperf.eu"
,
"GS_ID"
=
"gpas"
,
"PORTAL_URL"
=
"http://mango.crossperf.eu"
,
"BACK_URL"
=
"http://google.com/"
,
"WSDL_URL"
=
"https://pop-mltstg-load.gpas.io:8083/walletserver3_0?wsdl"
,
"CASINO_NAME"
=
"mango"
,
"CLIENT_TYPE"
=
"casino"
,
"GPAS_SERVER_PORT"
=
"443"
,
"POS_EW_URL"
=
"https://malta-stage-pop.gpas.io:8443/ExternalWalletService"
,
"TRANS_DESCRIPTION"
=
"PerfTest"
,
"ACCOUNT_ID"
=
"OneDemo234"
,
"TPI_API_BET_ROUNDS"
=
"100"
,
"NE_ROUND_DELAY"
=
"2500"
,
"OAPI_SERVER_HOST"
=
"cppums2-openapi.crossperf.eu"
,
"OAPI_SERVER_PORT"
=
"4815"
,
"CASINO_SYSTEM_ID"
=
"7901"
,
"CLIENT_PLATFORM"
=
"web"
,
"READ_TCP_RESPONSE_TIMEOUT_WS"
=
"15999"
,
"SKIN_NAME"
=
"mango"
])
- kg.apc.jmeter.threads.UltimateThreadGroup
"Thread Group - Pop105_sio_CosmicDisco_fake_ims"
-
- transaction
"Pop105_sio_CosmicDisco_fake_ims"
-
- jsr223 sampler
"105_001_CSV Read Sampler"
- jsr223 sampler
"105_002_set_variables"
- BeanShellSampler
"105_003_Add variable WINDOW_ID"
- http request
"105_004_LAUNCH_GAME_launcher"
(method: "GET",
url: "
://:/${GAMELAUNCHER_URL}/launcher?game=${GAME_CODE}&username=${LOGIN}&token=${__UUID}&casino=${CASINO_NAME}&clientplatform=web¤cy=EUR&language=EN&real=1&clienttype=casino",
body: [
]
,
upload-files: [
]
)
-
- extract-regexp
"Regexp Extractor Body - POP_UU_TOKEN"
using response body
(exportedVar: "POP_UU_TOKEN"
regex: "",
template: "",
default: "",
matchNr: "")
- assert as
"Check Extraction - POP_UU_TOKEN" that (response_data)
does not contain as substring
[
"@@@POP_UU_TOKEN_undefined"
])
- add headers
"HTTP Header Manager"
(headers:[
{"Content-Type"=
"application/json"
])
- think-time Constant
"Constant Timer"
(const:${__Random(500,3000,)}ms)
- kg.apc.jmeter.timers.VariableThroughputTimer
"Throughput Shaping Timer"
- DurationAssertion
"Duration Assertion"
- com.stg.ptf.sampler.tcp.sampler.TCPSampler
"105_005_LAUNCH_GAME_sio_connect"
-
- think-time Constant
"Constant Timer"
(const:2470ms)
- extract-regexp
"Regexp Extractor Body - AUTH_TOKEN_WS"
using response body
(exportedVar: "AUTH_TOKEN_WS"
regex: "",
template: "",
default: "",
matchNr: "")
- DurationAssertion
"Duration Assertion"
- com.stg.ptf.sampler.tcp.sampler.TCPSampler
"105_006_LAUNCH_GAME_sio_AuthenticateWithIMSTokenRequest"
-
- think-time Constant
"Constant Timer"
(const:2470ms)
- extract-regexp
"Regexp Extractor Body - AUTH_TOKEN_WS"
using response body
(exportedVar: "AUTH_TOKEN_WS"
regex: "",
template: "",
default: "",
matchNr: "")
- DurationAssertion
"Duration Assertion"
- JSR223Assertion
"Custom assertion for SocketIO recv"
- com.stg.ptf.sampler.tcp.sampler.TCPSampler
"105_007_LAUNCH_GAME_sio_GetPlayerInfoRequest"
-
- think-time Constant
"Constant Timer"
(const:1171ms)
- DurationAssertion
"Duration Assertion"
- JSR223Assertion
"Custom assertion for SocketIO recv"
- com.stg.ptf.sampler.tcp.sampler.TCPSampler
"105_008_LAUNCH_GAME_sio_GetBrokenGameListRequest"
-
- extract-regexp
"Regexp Extractor Body - BROKEN_GAMES_CODE"
using response body
(exportedVar: "BROKEN_GAMES_CODE"
regex: "",
template: "",
default: "",
matchNr: "")
- jsr223 post-process
"check_on_broken_games_LAUNCH_GAME_sio_GetBrokenGameListRequest"
- think-time Constant
"Constant Timer"
(const:309ms)
- DurationAssertion
"Duration Assertion"
- JSR223Assertion
"Custom assertion for SocketIO recv"
- BeanShellSampler
"105_009_Add variable WINDOW_ID"
- if
"IfController_1"
(condition: ""${HAS_BROKEN_GAME}" == "true"")
-
- com.stg.ptf.sampler.tcp.sampler.TCPSampler
"105_010_LAUNCH_GAME_sio_ReserveBrokenGameRequest"
-
- think-time Constant
"Constant Timer"
(const:834ms)
- DurationAssertion
"Duration Assertion"
- JSR223Assertion
"Custom assertion for SocketIO recv"
- com.stg.ptf.sampler.tcp.sampler.TCPSampler
"105_011_LAUNCH_GAME_sio_OpenGameWindowRequest"
-
- think-time Constant
"Constant Timer"
(const:284ms)
- DurationAssertion
"Duration Assertion"
- JSR223Assertion
"Custom assertion for SocketIO recv"
- com.stg.ptf.sampler.tcp.sampler.TCPSampler
"105_012_LAUNCH_GAME_sio_GetGameConfigurationRequest"
-
- think-time Constant
"Constant Timer"
(const:68ms)
- DurationAssertion
"Duration Assertion"
- JSR223Assertion
"Custom assertion for SocketIO recv"
- if
"IfController_2"
(condition: ""${HAS_BROKEN_GAME}" == "true"")
-
- com.stg.ptf.sampler.tcp.sampler.TCPSampler
"105_013_FINISH_BROKEN_GAME_sio_OgwCorosinGameCommand"
-
- extract-regexp
"Regexp Extractor Body - REMAINING_ROUNDS"
using response body
(exportedVar: "REMAINING_ROUNDS"
regex: "",
template: "",
default: "",
matchNr: "")
- jsr223 post-process
"check_if_win_bonus_FINISH_BROKEN_GAME_sio_OgwCorosinGameCommand"
- think-time Constant
"Constant Timer"
(const:20ms)
- DurationAssertion
"Duration Assertion"
- JSR223Assertion
"Custom assertion for SocketIO recv"
- WhileController
"WhileController_3"
-
- com.stg.ptf.sampler.tcp.sampler.TCPSampler
"105_014_FINISH_BROKEN_GAME_sio_OgwCorosinGameCommand"
-
- extract-regexp
"Regexp Extractor Body - REMAINING_ROUNDS"
using response body
(exportedVar: "REMAINING_ROUNDS"
regex: "",
template: "",
default: "",
matchNr: "")
- jsr223 post-process
"check_if_have_more_fs_FINISH_BROKEN_GAME_sio_OgwCorosinGameCommand"
- think-time Constant
"Constant Timer"
(const:10ms)
- DurationAssertion
"Duration Assertion"
- JSR223Assertion
"Custom assertion for SocketIO recv"
- LoopController
"Predefined rounds"
-
- transaction
"Pop105_sio_CosmicDisco_fake_ims_[loop]"
-
- com.stg.ptf.sampler.tcp.sampler.TCPSampler
"105_015_BETANDSPIN_sio_OgwCorosinGameCommand"
-
- extract-regexp
"Regexp Extractor Body - REMAINING_ROUNDS"
using response body
(exportedVar: "REMAINING_ROUNDS"
regex: "",
template: "",
default: "",
matchNr: "")
- jsr223 post-process
"check_if_win_bonus_BETANDSPIN_sio_OgwCorosinGameCommand"
- think-time Constant
"Constant Timer"
(const:${CD_ROUND_DELAY}ms)
- kg.apc.jmeter.timers.VariableThroughputTimer
"Throughput Shaping Timer"
- DurationAssertion
"Duration Assertion"
- JSR223Assertion
"Custom assertion for SocketIO recv"
- WhileController
"WhileController_4"
-
- com.stg.ptf.sampler.tcp.sampler.TCPSampler
"105_016_BETANDSPIN_BONUS_sio_OgwCorosinGameCommand"
-
- extract-regexp
"Regexp Extractor Body - REMAINING_ROUNDS"
using response body
(exportedVar: "REMAINING_ROUNDS"
regex: "",
template: "",
default: "",
matchNr: "")
- jsr223 post-process
"check_if_have_more_fs_BETANDSPIN_BONUS_sio_OgwCorosinGameCommand"
- think-time Constant
"Constant Timer"
(const:200ms)
- DurationAssertion
"Duration Assertion"
- JSR223Assertion
"Custom assertion for SocketIO recv"
- com.stg.ptf.sampler.tcp.sampler.TCPSampler
"105_017_CLOSE_BROWSER_sio_CloseGameWindowRequest"
-
- think-time Constant
"Constant Timer"
(const:5000ms)
- DurationAssertion
"Duration Assertion"
- simulate browser cache
"HTTP Cache Manager"
(clearOnEachIteration: true,
useCacheControlAndExpires: true,
maxSize:
)
- handle cookies
"HTTP Cookie Manager"
(clearOnEachIteration: true,
policy: "",
cookies: [
])
- write samples
"Summary Report"
- write samples
"--== Tree View ==--"
- write samples
"Simple Data Writer"
(filename: "/apps/injector/projects/${__P(run_id)}/logs/55_POP_2019_11_06_07_04_38.log",
xml: false,
errorsOnly: false,
successOnly: )
- com.pt.stg.transactionprocessor.STGTransactionProcessor
"--== Transactions Processor ==--"