chore: clean-up hardcoded values

This commit is contained in:
Vlad Stan 2024-02-28 22:30:45 +02:00
parent 754ac56eae
commit 8d8a0be854

View File

@ -60,9 +60,9 @@
<elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
<collectionProp name="Arguments.arguments"/>
</elementProp>
<stringProp name="HTTPSampler.domain">localhost</stringProp>
<stringProp name="HTTPSampler.domain">${host}</stringProp>
<stringProp name="HTTPSampler.port"></stringProp>
<stringProp name="HTTPSampler.protocol">http</stringProp>
<stringProp name="HTTPSampler.protocol">${scheme}</stringProp>
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
<stringProp name="HTTPSampler.path"></stringProp>
<stringProp name="HTTPSampler.concurrentPool">6</stringProp>
@ -104,7 +104,7 @@
</hashTree>
<TransactionController guiclass="TransactionControllerGui" testclass="TransactionController" testname="Init Wallet" enabled="true">
<boolProp name="TransactionController.includeTimers">false</boolProp>
<boolProp name="TransactionController.parent">false</boolProp>
<boolProp name="TransactionController.parent">true</boolProp>
</TransactionController>
<hashTree>
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="[wallet] Get main page" enabled="true">
@ -192,7 +192,7 @@
<collectionProp name="HeaderManager.headers">
<elementProp name="Referer" elementType="Header">
<stringProp name="Header.name">Referer</stringProp>
<stringProp name="Header.value">http://localhost:5000/</stringProp>
<stringProp name="Header.value">${scheme}://${host}:${port}/</stringProp>
</elementProp>
<elementProp name="Accept-Language" elementType="Header">
<stringProp name="Header.name">Accept-Language</stringProp>
@ -200,7 +200,7 @@
</elementProp>
<elementProp name="Origin" elementType="Header">
<stringProp name="Header.name">Origin</stringProp>
<stringProp name="Header.value">http://localhost:5000</stringProp>
<stringProp name="Header.value">${scheme}://${host}:${port}</stringProp>
</elementProp>
<elementProp name="Content-Type" elementType="Header">
<stringProp name="Header.name">Content-Type</stringProp>
@ -524,7 +524,7 @@ if (resp.balance !== 0) {
</hashTree>
<TransactionController guiclass="TransactionControllerGui" testclass="TransactionController" testname="Watch Only Extension" enabled="true">
<boolProp name="TransactionController.includeTimers">false</boolProp>
<boolProp name="TransactionController.parent">false</boolProp>
<boolProp name="TransactionController.parent">true</boolProp>
</TransactionController>
<hashTree>
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="[watchonly] Enable &quot;watchonly&quot;" enabled="true">
@ -1169,7 +1169,7 @@ if (resp.address !== expectedAddress) {
</hashTree>
<TransactionController guiclass="TransactionControllerGui" testclass="TransactionController" testname="Sats Pay Extension" enabled="true">
<boolProp name="TransactionController.includeTimers">false</boolProp>
<boolProp name="TransactionController.parent">false</boolProp>
<boolProp name="TransactionController.parent">true</boolProp>
</TransactionController>
<hashTree>
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="[satspay] Enable &quot;satspay&quot;" enabled="true">
@ -2167,7 +2167,7 @@ if (vars.get(&quot;paymentRequest&quot;) !== body.payment_request) {
</hashTree>
<TransactionController guiclass="TransactionControllerGui" testclass="TransactionController" testname="Check charge payments" enabled="true">
<boolProp name="TransactionController.includeTimers">false</boolProp>
<boolProp name="TransactionController.parent">false</boolProp>
<boolProp name="TransactionController.parent">true</boolProp>
</TransactionController>
<hashTree>
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="[satspay] Get charges after payment" enabled="true">
@ -2420,7 +2420,7 @@ if (pendingCount !== 1) {
</hashTree>
<TransactionController guiclass="TransactionControllerGui" testclass="TransactionController" testname="Tip Jar" enabled="true">
<boolProp name="TransactionController.includeTimers">false</boolProp>
<boolProp name="TransactionController.parent">false</boolProp>
<boolProp name="TransactionController.parent">true</boolProp>
</TransactionController>
<hashTree>
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="[tipjar] Enable &quot;tipjar&quot;" enabled="true">
@ -2637,7 +2637,7 @@ if (pendingCount !== 1) {
<collectionProp name="Arguments.arguments">
<elementProp name="" elementType="HTTPArgument">
<boolProp name="HTTPArgument.always_encode">false</boolProp>
<stringProp name="Argument.value">{&quot;wallet&quot;:&quot;${walletId}&quot;,&quot;name&quot;:&quot;Nakamoto&quot;,&quot;webhook&quot;:&quot;http://localhost:8081&quot;}</stringProp>
<stringProp name="Argument.value">{&quot;wallet&quot;:&quot;${walletId}&quot;,&quot;name&quot;:&quot;Nakamoto&quot;,&quot;webhook&quot;:&quot;${scheme}://${host}:8081&quot;}</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
</collectionProp>