false false host ${__property(host,,127.0.0.1)} = scheme ${__property(scheme,,http)} = port ${__property(port,,5000)} = thinkTime 3000 = ${host} ${port} ${scheme} 6 Java 20000 30000 stopthread false 1 1 1 1370726934000 1370726934000 false false false false false true fragments/init-server.jmx false true fragments/init-account.jmx false true false enable tpos = true ${host} ${port} ${scheme} utf-8 /extensions GET true false true false Sec-Fetch-Mode same-origin Sec-Fetch-Site same-origin Accept-Language en-US,en;q=0.${paidChargeCount} Upgrade-Insecure-Requests 1 Accept-Encoding gzip, deflate, br User-Agent Mozilla/${paidChargeCount}.0 (Macintosh; Intel Mac OS X 10.15; rv:106.0) Gecko/20100101 Firefox/106.0 Accept text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8 Sec-Fetch-Dest empty 200 Assertion.response_code false 8 ${host} ${port} ${scheme} UTF-8 /tpos/ GET true false true false Sec-Fetch-Mode same-origin Referer ${scheme}://${host}:${port}/tpos/ Sec-Fetch-Site same-origin Accept-Language en-US,en;q=0.${lnurlpCount} Upgrade-Insecure-Requests 1 Accept-Encoding gzip, deflate, br User-Agent Mozilla/${lnurlpCount}.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/118.0 Accept text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8 Sec-Fetch-Dest empty false all_wallets true = true ${host} ${port} ${scheme} UTF-8 /tpos/api/v1/tposs GET true false true false Sec-Fetch-Mode cors Referer ${scheme}://${host}:${port}/tpos/ Sec-Fetch-Site same-origin Accept-Language en-US,en;q=0.${lnurlpCount} X-Api-Key ${adminkey} Accept-Encoding gzip, deflate, br User-Agent Mozilla/${lnurlpCount}.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/118.0 Accept application/json, text/plain, */* Sec-Fetch-Dest empty false true pin 2222 = timeBtw = 1 withdrawLmt = 100000 tipOptions [2, 5] = memo TPoS test = true false {"name":"tips wallet"} = ${host} ${port} ${scheme} UTF-8 /api/v1/wallet POST true false true false Sec-Fetch-Mode cors Sec-Fetch-Site same-origin Accept-Language en-US,en;q=0.${lnurlpCount} Origin ${scheme}://${host}:${port} Accept application/json, text/plain, */* X-Api-Key ${adminkey} Content-Type application/json Accept-Encoding gzip, deflate, br User-Agent Mozilla/${lnurlpCount}.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/118.0 Sec-Fetch-Dest empty 200 Assertion.response_code false 8 javascript true var resp = JSON.parse(prev.getResponseDataAsString()); var walletId = vars.get("walletId"); var userId = vars.get("userId"); if (!resp.id) { AssertionResult.setFailureMessage("TPoS not created"); AssertionResult.setFailure(true); } else if (resp.user !== userId) { AssertionResult.setFailureMessage( "TPoS user id expected to be '" + userId + "', but was: " + resp.user ); AssertionResult.setFailure(true); } else if (resp.name !== "tips wallet") { AssertionResult.setFailureMessage( "TPoS name expected to be 'tips wallet', but was: " + resp.name ); AssertionResult.setFailure(true); } javascript true var resp = JSON.parse(prev.getResponseDataAsString()) vars.put("tipWalletId", resp.id || "no-tip-wallet-id"); vars.put("tipinkey", resp.inkey || 'no-tip-inkey'); vars.put("tipadminkey", resp.adminkey || 'no-tip-adminkey'); true false {"name":"Test","wallet":"${walletId}","currency":"USD"} = ${host} ${port} ${scheme} UTF-8 /tpos/api/v1/tposs POST true false true false Sec-Fetch-Mode cors Sec-Fetch-Site same-origin Accept-Language en-US,en;q=0.${lnurlpCount} Origin ${scheme}://${host}:${port} Accept application/json, text/plain, */* X-Api-Key ${adminkey} Content-Type application/json Accept-Encoding gzip, deflate, br User-Agent Mozilla/${lnurlpCount}.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/118.0 Sec-Fetch-Dest empty 201 Assertion.response_code false 8 javascript true var resp = JSON.parse(prev.getResponseDataAsString()) var walletId = vars.get("walletId") if (!resp.id) { AssertionResult.setFailureMessage("TPoS not created"); AssertionResult.setFailure(true) } else if (resp.wallet !== walletId){ AssertionResult.setFailureMessage("TPoS description expected to be '"+walletId+"', but was: " + resp.wallet); AssertionResult.setFailure(true) } javascript true var resp = JSON.parse(prev.getResponseDataAsString()) vars.put("tposId", resp.id || 'no-tpos-id'); true false {"tip_options":"${tipOptions}","tip_wallet":"${tipWalletId}"} = ${host} ${port} ${scheme} UTF-8 /tpos/api/v1/tposs/${tposId} PUT true false true false Sec-Fetch-Mode cors Sec-Fetch-Site same-origin Accept-Language en-US,en;q=0.${lnurlpCount} Origin ${scheme}://${host}:${port} Accept application/json, text/plain, */* X-Api-Key ${adminkey} Content-Type application/json Accept-Encoding gzip, deflate, br User-Agent Mozilla/${lnurlpCount}.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/118.0 Sec-Fetch-Dest empty 200 Assertion.response_code false 40 javascript true var resp = JSON.parse(prev.getResponseDataAsString()) var walletId = vars.get("walletId") var tipWalletId = vars.get("tipWalletId") var tipOptions = vars.get("tipOptions") if (!resp.id) { AssertionResult.setFailureMessage("TPoS not updated"); AssertionResult.setFailure(true) } else if (resp.wallet !== walletId){ AssertionResult.setFailureMessage("TPoS description expected to be '"+walletId+"', but was: " + resp.wallet); AssertionResult.setFailure(true) } else if (resp.tip_wallet != tipWalletId) { AssertionResult.setFailureMessage("Tip wallet expected to be '"+tipWalletId+"', but was: " + resp.tip_wallet); AssertionResult.setFailure(true) } else if (resp.tip_options != tipOptions) { AssertionResult.setFailureMessage("Tip options expected to be '"+tipOptions+"', but was: " + resp.tip_options); AssertionResult.setFailure(true) } true false {"withdrawpin":${pin},"withdrawbtwn":${timeBtw},"name":"Test ATM","wallet":"${walletId}","currency":"EUR","withdrawlimit":${withdrawLmt}} = ${host} ${port} ${scheme} UTF-8 /tpos/api/v1/tposs POST true false true false Sec-Fetch-Mode cors Sec-Fetch-Site same-origin Accept-Language en-US,en;q=0.${lnurlpCount} Origin ${scheme}://${host}:${port} Accept application/json, text/plain, */* X-Api-Key ${adminkey} Content-Type application/json Accept-Encoding gzip, deflate, br User-Agent Mozilla/${lnurlpCount}.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/118.0 Sec-Fetch-Dest empty 201 Assertion.response_code false 8 javascript true var resp = JSON.parse(prev.getResponseDataAsString()) var walletId = vars.get("walletId") if (!resp.id) { AssertionResult.setFailureMessage("TPoS not created"); AssertionResult.setFailure(true) } else if (resp.wallet !== walletId){ AssertionResult.setFailureMessage("TPoS description expected to be '"+walletId+"', but was: " + resp.wallet); AssertionResult.setFailure(true) } javascript true var resp = JSON.parse(prev.getResponseDataAsString()) vars.put("ATMtposId", resp.id || 'no-tpos-id'); false true ${host} ${port} ${scheme} UTF-8 /tpos/${tposId} GET true false true false Sec-Fetch-Mode same-origin Referer ${scheme}://${host}:${port}/tpos/ Sec-Fetch-Site same-origin Accept-Language en-US,en;q=0.${lnurlpCount} Upgrade-Insecure-Requests 1 Accept-Encoding gzip, deflate, br User-Agent Mozilla/${lnurlpCount}.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/118.0 Accept text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8 Sec-Fetch-Dest empty 200 Assertion.response_code false 8 ok Assertion.response_data false 2 ${host} ${port} ${scheme} UTF-8 /tpos/api/v1/rate/EUR GET true false true false Sec-Fetch-Mode cors Sec-Fetch-Site same-origin Accept-Language en-US,en;q=0.${lnurlpCount} Accept-Encoding gzip, deflate, br User-Agent Mozilla/${lnurlpCount}.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/118.0 Accept application/json, text/plain, */* Sec-Fetch-Dest empty 200 Assertion.response_code false 8 rate null true false true false false true 1000 10 true amount ${host} ${port} ${scheme} UTF-8 /tpos/api/v1/tposs/${tposId}/invoices?amount=${amount}&memo=${memo} POST true false true false Sec-Fetch-Mode cors Sec-Fetch-Site same-origin Accept-Language en-US,en;q=0.${lnurlpCount} Origin ${scheme}://${host}:${port} Accept application/json, text/plain, */* Content-Type application/x-www-form-urlencoded Accept-Encoding gzip, deflate, br User-Agent Mozilla/${lnurlpCount}.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/118.0 Sec-Fetch-Dest empty 201 Assertion.response_code false 8 payment_request false false false true payment_hash false false false true paymentRequest payment_request 0 no-payment-request paymentHash payment_hash 0 no-payment-hash true 1 1100 ${host} ${port} ${scheme} UTF-8 /tpos/api/v1/tposs/${tposId}/invoices/${paymentHash} GET true false true false Sec-Fetch-Mode cors Referer ${scheme}://${host}:${port}/tpos/4qJSDrSf9peoV9iMqvmpBT Sec-Fetch-Site same-origin Accept-Language en-US,en;q=0.${lnurlpCount} Accept-Encoding gzip, deflate, br User-Agent Mozilla/${lnurlpCount}.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/118.0 Accept application/json, text/plain, */* Sec-Fetch-Dest empty 200 Assertion.response_code false 8 paid false true false false false true false { "out": true, "amount": ${amount}, "memo": "${memo}", "unit": "sat", "bolt11": "${paymentRequest}" } = ${host} ${port} ${scheme} utf-8 /api/v1/payments POST true false true false Sec-Fetch-Mode cors Sec-Fetch-Site same-origin Accept-Language en-US,en;q=0.${lnurlpCount} Origin ${scheme}://${host}:${port} Accept application/json, text/plain, */* X-Api-Key ${adminWalletKey} Content-Type application/json;charset=utf-8 Accept-Encoding gzip, deflate, br User-Agent Mozilla/${lnurlpCount}.0 (Macintosh; Intel Mac OS X 10.15; rv:106.0) Gecko/20100101 Firefox/106.0 Sec-Fetch-Dest empty 201 Assertion.response_code false 8 javascript true var resp = JSON.parse(prev.getResponseDataAsString()) var paymentHash = vars.get("paymentHash") if (!resp.payment_hash) { AssertionResult.setFailureMessage("Payment failed"); AssertionResult.setFailure(true) } else if (resp.payment_hash !== paymentHash) { AssertionResult.setFailureMessage("Payment hash expected to be '"+paymentHash+"', but was: " + resp.payment_hash); AssertionResult.setFailure(true) } 1100 ${host} ${port} ${scheme} UTF-8 /tpos/api/v1/tposs/${tposId}/invoices/${paymentHash} GET true false true false Sec-Fetch-Mode cors Referer ${scheme}://${host}:${port}/tpos/4qJSDrSf9peoV9iMqvmpBT Sec-Fetch-Site same-origin Accept-Language en-US,en;q=0.${lnurlpCount} Accept-Encoding gzip, deflate, br User-Agent Mozilla/${lnurlpCount}.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/118.0 Accept application/json, text/plain, */* Sec-Fetch-Dest empty 200 Assertion.response_code false 8 paid true true false false false false true 1000 10 true amount ${host} ${port} ${scheme} UTF-8 /tpos/api/v1/tposs/${tposId}/invoices?amount=${amount}&memo=${memo}&tipAmount=${__javaScript(parseInt(Math.ceil(0.05*${amount})).toFixed(0))} POST true false true false Sec-Fetch-Mode cors Sec-Fetch-Site same-origin Accept-Language en-US,en;q=0.${lnurlpCount} Origin ${scheme}://${host}:${port} Accept application/json, text/plain, */* Content-Type application/x-www-form-urlencoded Accept-Encoding gzip, deflate, br User-Agent Mozilla/${lnurlpCount}.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/118.0 Sec-Fetch-Dest empty 201 Assertion.response_code false 8 payment_request false false false true payment_hash false false false true paymentHash payment_hash 0 no-payment-hash paymentRequest payment_request 0 no-payment-request true 1 1100 ${host} ${port} ${scheme} UTF-8 /tpos/api/v1/tposs/${tposId}/invoices/${paymentHash} GET true false true false Sec-Fetch-Mode cors Referer ${scheme}://${host}:${port}/tpos/4qJSDrSf9peoV9iMqvmpBT Sec-Fetch-Site same-origin Accept-Language en-US,en;q=0.${lnurlpCount} Accept-Encoding gzip, deflate, br User-Agent Mozilla/${lnurlpCount}.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/118.0 Accept application/json, text/plain, */* Sec-Fetch-Dest empty 200 Assertion.response_code false 8 paid false true false false false true false { "out": true, "amount": ${amount}, "memo": "${memo}", "unit": "sat", "bolt11": "${paymentRequest}" } = ${host} ${port} ${scheme} utf-8 /api/v1/payments POST true false true false Sec-Fetch-Mode cors Sec-Fetch-Site same-origin Accept-Language en-US,en;q=0.${lnurlpCount} Origin ${scheme}://${host}:${port} Accept application/json, text/plain, */* X-Api-Key ${adminWalletKey} Content-Type application/json;charset=utf-8 Accept-Encoding gzip, deflate, br User-Agent Mozilla/${lnurlpCount}.0 (Macintosh; Intel Mac OS X 10.15; rv:106.0) Gecko/20100101 Firefox/106.0 Sec-Fetch-Dest empty 201 Assertion.response_code false 8 javascript true var resp = JSON.parse(prev.getResponseDataAsString()) var paymentHash = vars.get("paymentHash") if (!resp.payment_hash) { AssertionResult.setFailureMessage("Payment failed"); AssertionResult.setFailure(true) } else if (resp.payment_hash !== paymentHash) { AssertionResult.setFailureMessage("Payment hash expected to be '"+paymentHash+"', but was: " + resp.payment_hash); AssertionResult.setFailure(true) } 1100 ${host} ${port} ${scheme} UTF-8 /tpos/api/v1/tposs/${tposId}/invoices/${paymentHash} GET true false true false Sec-Fetch-Mode cors Referer ${scheme}://${host}:${port}/tpos/4qJSDrSf9peoV9iMqvmpBT Sec-Fetch-Site same-origin Accept-Language en-US,en;q=0.${lnurlpCount} Accept-Encoding gzip, deflate, br User-Agent Mozilla/${lnurlpCount}.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/118.0 Accept application/json, text/plain, */* Sec-Fetch-Dest empty 200 Assertion.response_code false 8 paid true true false false false false true ${host} ${port} ${scheme} UTF-8 /tpos/${ATMtposId} GET true false true false Sec-Fetch-Mode same-origin Referer ${scheme}://${host}:${port}/tpos/ Sec-Fetch-Site same-origin Accept-Language en-US,en;q=0.${lnurlpCount} Upgrade-Insecure-Requests 1 Accept-Encoding gzip, deflate, br User-Agent Mozilla/${lnurlpCount}.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/118.0 Accept text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8 Sec-Fetch-Dest empty 200 Assertion.response_code false 8 Ok Assertion.response_data false 2 ${host} ${port} ${scheme} UTF-8 /tpos/api/v1/rate/EUR GET true false true false Sec-Fetch-Mode cors Sec-Fetch-Site same-origin Accept-Language en-US,en;q=0.${lnurlpCount} Accept-Encoding gzip, deflate, br User-Agent Mozilla/${lnurlpCount}.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/118.0 Accept application/json, text/plain, */* Sec-Fetch-Dest empty 200 Assertion.response_code false 8 rate null true false true false false true ${host} ${port} ${scheme} UTF-8 /tpos/api/v1/tposs/${ATMtposId}/invoices?amount=11000&memo=${memo} POST true false true false Sec-Fetch-Mode cors Sec-Fetch-Site same-origin Accept-Language en-US,en;q=0.${lnurlpCount} Origin ${scheme}://${host}:${port} Accept application/json, text/plain, */* Content-Type application/x-www-form-urlencoded Accept-Encoding gzip, deflate, br User-Agent Mozilla/${lnurlpCount}.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/118.0 Sec-Fetch-Dest empty 201 Assertion.response_code false 8 payment_request false false false true payment_hash false false false true paymentRequest payment_request 0 no-payment-request paymentHash payment_hash 0 no-payment-hash 1100 true false { "out": true, "amount": 11000, "memo": "${memo}", "unit": "sat", "bolt11": "${paymentRequest}" } = ${host} ${port} ${scheme} utf-8 /api/v1/payments POST true false true false Sec-Fetch-Mode cors Sec-Fetch-Site same-origin Accept-Language en-US,en;q=0.${lnurlpCount} Origin ${scheme}://${host}:${port} Accept application/json, text/plain, */* X-Api-Key ${adminWalletKey} Content-Type application/json;charset=utf-8 Accept-Encoding gzip, deflate, br User-Agent Mozilla/${lnurlpCount}.0 (Macintosh; Intel Mac OS X 10.15; rv:106.0) Gecko/20100101 Firefox/106.0 Sec-Fetch-Dest empty 201 Assertion.response_code false 8 javascript true var resp = JSON.parse(prev.getResponseDataAsString()) var paymentHash = vars.get("paymentHash") if (!resp.payment_hash) { AssertionResult.setFailureMessage("Payment failed"); AssertionResult.setFailure(true) } else if (resp.payment_hash !== paymentHash) { AssertionResult.setFailureMessage("Payment hash expected to be '"+paymentHash+"', but was: " + resp.payment_hash); AssertionResult.setFailure(true) } 1100 ${host} ${port} ${scheme} UTF-8 /tpos/api/v1/tposs/${ATMtposId}/invoices/${paymentHash} GET true false true false Sec-Fetch-Mode cors Referer ${scheme}://${host}:${port}/tpos/4qJSDrSf9peoV9iMqvmpBT Sec-Fetch-Site same-origin Accept-Language en-US,en;q=0.${lnurlpCount} Accept-Encoding gzip, deflate, br User-Agent Mozilla/${lnurlpCount}.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/118.0 Accept application/json, text/plain, */* Sec-Fetch-Dest empty 200 Assertion.response_code false 8 paid true true false false false ${host} ${port} ${scheme} UTF-8 /api/v1/wallet GET true false true false Referer ${scheme}://${host}:${port}/wallet?wal=${walletId} Accept-Language en-US,en;q=0.5 X-Api-Key ${adminWalletKey} Accept-Encoding gzip, deflate User-Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:105.0) Gecko/20100101 Firefox/105.0 Accept application/json, text/plain, */* 200 Assertion.response_code false 8 adminBalance balance 0 no-admin-balance ${host} ${port} ${scheme} UTF-8 /api/v1/wallet GET true false true false Referer ${scheme}://${host}:${port}/wallet?wal=${walletId} Accept-Language en-US,en;q=0.5 X-Api-Key ${inkey} Accept-Encoding gzip, deflate User-Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:105.0) Gecko/20100101 Firefox/105.0 Accept application/json, text/plain, */* 200 Assertion.response_code false 8 userBalance balance 0 no-user-balance false true ${host} ${port} ${scheme} UTF-8 /tpos/api/v1/atm/${ATMtposId}/${pin} GET true false true false Sec-Fetch-Mode cors Sec-Fetch-Site same-origin Accept-Language en-US,en;q=0.${lnurlpCount} Accept-Encoding gzip, deflate, br User-Agent Mozilla/${lnurlpCount}.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/118.0 Accept application/json, text/plain, */* Sec-Fetch-Dest empty 201 Assertion.response_code false 8 token id 0 no-token false true 10000 3000 true amount ${host} ${port} ${scheme} UTF-8 /tpos/api/v1/atm/withdraw/${token}/${amount} GET true false true false Java Sec-Fetch-Mode cors Referer https://violet-frogs-fail.loca.lt/tpos/4qJSDrSf9peoV9iMqvmpBT Sec-Fetch-Site same-origin Accept-Language en-US,en;q=0.${lnurlpCount} Accept-Encoding gzip, deflate, br User-Agent Mozilla/${lnurlpCount}.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/118.0 Accept application/json, text/plain, */* Sec-Fetch-Dest empty 201 Assertion.response_code false 8 claimed false true false false true amount ${amount} true false false true lnurl lnurl 0 no-lnurl certAlias -1 True 0 ${host} ${port} ${scheme} UTF-8 /api/v1/lnurlscan/${lnurl} GET true false true false Sec-Fetch-Mode cors Referer ${scheme}://${host}:${port}/wallet Sec-Fetch-Site same-origin Accept-Language en-US,en;q=0.${lnurlpCount} X-Api-Key ${adminWalletKey} Accept-Encoding gzip, deflate, br User-Agent Mozilla/${lnurlpCount}.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/118.0 Accept application/json, text/plain, */* Sec-Fetch-Dest empty 200 Assertion.response_code false 8 domain ${host}:${port} true false false true tag withdrawRequest true false false true kind withdraw true false false true withdrawLinkCallback callback 0 no-withdrawlink-callback true false {"out":false,"amount":${amount},"memo":"TPoS withdraw","unit":"sat","lnurl_callback":"${withdrawLinkCallback}"} = ${host} ${port} ${scheme} utf-8 /api/v1/payments POST true false true false Sec-Fetch-Mode cors Sec-Fetch-Site same-origin Accept-Language en-US,en;q=0.${lnurlpCount} Origin ${scheme}://${host}:${port} Accept application/json, text/plain, */* X-Api-Key ${adminWalletKey} Content-Type application/json;charset=utf-8 Accept-Encoding gzip, deflate, br User-Agent Mozilla/${lnurlpCount}.0 (Macintosh; Intel Mac OS X 10.15; rv:106.0) Gecko/20100101 Firefox/106.0 Sec-Fetch-Dest empty 201 Assertion.response_code false 8 lnurl_response true true false false true paymenHash payment_hash 0 no-payment-hash 1100 ${host} ${port} ${scheme} UTF-8 /api/v1/payments/${paymenHash} GET true false true false X-Api-Key ${inkey} 200 Assertion.response_code false 8 ${host} ${port} ${scheme} UTF-8 /api/v1/wallet GET true false true false Referer ${scheme}://${host}:${port}/wallet?wal=${walletId} Accept-Language en-US,en;q=0.5 X-Api-Key ${inkey} Accept-Encoding gzip, deflate User-Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:105.0) Gecko/20100101 Firefox/105.0 Accept application/json, text/plain, */* 200 Assertion.response_code false 8 true var resp = JSON.parse(prev.getResponseDataAsString()) var userBalance = +vars.get("userBalance") var amount = +vars.get("amount") userBalance -= amount * 1000 // millisats if (resp.balance !== userBalance) { AssertionResult.setFailureMessage("Expected balance to be "+userBalance+", but got: "+ resp.balance); AssertionResult.setFailure(true) } javascript ${host} ${port} ${scheme} UTF-8 /api/v1/wallet GET true false true false Referer ${scheme}://${host}:${port}/wallet?wal=${walletId} Accept-Language en-US,en;q=0.5 X-Api-Key ${adminWalletKey} Accept-Encoding gzip, deflate User-Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:105.0) Gecko/20100101 Firefox/105.0 Accept application/json, text/plain, */* 200 Assertion.response_code false 8 true var resp = JSON.parse(prev.getResponseDataAsString()) var adminBalance = +vars.get("adminBalance") var amount = +vars.get("amount") adminBalance += amount * 1000 // millisats if (resp.balance !== adminBalance) { AssertionResult.setFailureMessage("Expected balance to be "+adminBalance+", but got: "+ resp.balance); AssertionResult.setFailure(true) } javascript false saveConfig true true true true true true true false true true false false false true false false false true 0 true true true true true true false saveConfig true true true true true true true false true true false false false true false false false true 0 true true true true true true false saveConfig true true true true true true true false true true false false false true false false false true 0 true true true true true true false saveConfig true true true true true true true false true true false false false true false false false true 0 true true true true true true 100 true (wallet){1} false saveConfig true true true true true true true false true true false false false true false false false true 0 true true true true true true false saveConfig true true true true true true true false true true false false false true false false false true 0 true true true true true true 8888 windowsupdate\.microsoft\.com.* (?i).*\.(bmp|css|js|gif|ico|jpe?g|png|swf|eot|otf|ttf|mp4|woff|woff2) .*msg\.yahoo\.com.* www\.download\.windowsupdate\.com.* toolbarqueries\.google\..* http?://self-repair\.mozilla\.org.* tiles.*\.mozilla\.com.* .*detectportal\.firefox\.com.* us\.update\.toolbar\.yahoo\.com.* .*\.google\.com.*/safebrowsing/.* api\.bing\.com.* toolbar\.google\.com.* .*yimg\.com.* toolbar\.msn\.com.* (?i).*\.(bmp|css|js|gif|ico|jpe?g|png|swf|eot|otf|ttf|mp4|woff|woff2)[\?;].* toolbar\.avg\.com/.* www\.google-analytics\.com.* pgq\.yahoo\.com.* safebrowsing.*\.google\.com.* sqm\.microsoft\.com.* g\.msn.* clients.*\.google.* .*toolbar\.yahoo\.com.* geo\.yahoo\.com.* true 4 false false true true false true false 0 true UTF-8 8081 0 25 continue false 1 1 1 false true