From 5486b333d72f5ea93eb7a1f9b1a9ed112fd1b850 Mon Sep 17 00:00:00 2001 From: Vlad Stan Date: Thu, 20 Nov 2025 11:24:07 +0200 Subject: [PATCH 01/19] test: first version --- integration/load_001_users.jmx | 6535 ++++++++++++++++++++++++++++++++ 1 file changed, 6535 insertions(+) create mode 100644 integration/load_001_users.jmx diff --git a/integration/load_001_users.jmx b/integration/load_001_users.jmx new file mode 100644 index 00000000..181f5fe6 --- /dev/null +++ b/integration/load_001_users.jmx @@ -0,0 +1,6535 @@ + + + + + false + false + + + + + + + + + + + host + ${__property(host,,127.0.0.1)} + = + + + scheme + ${__property(scheme,,http)} + = + + + port + ${__property(port,,5000)} + = + + + thinkTime + 3000 + = + + + defaultPaymentCount + 3 + = + + + configPath + ${__BeanShell(import org.apache.jmeter.services.FileServer; FileServer.getFileServer().getBaseDir();)} + = + + + userCount + 20 + = + + + + + + + + + ${host} + ${port} + ${scheme} + + + 6 + Java + 20000 + 30000 + + + + + + + + continue + + false + 1 + + 30 + 60 + 1370726934000 + 1370726934000 + false + + + false + + + + + false + false + + + + false + true + + + + fragments/init-server.jmx + + + + + false + true + + + + true + + + + false + {"username":"admin","password":"secret1234"} + = + + + + ${host} + ${port} + ${scheme} + UTF-8 + /api/v1/auth + POST + true + false + true + false + + + + + + + + + Referer + ${scheme}://${host}:${port}/ + + + Accept-Language + en-US,en;q=0.5 + + + Origin + ${scheme}://${host}:${port} + + + Content-Type + application/json + + + Accept-Encoding + gzip, deflate + + + User-Agent + Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:123.0) Gecko/20100101 Firefox/123.0 + + + Accept + application/json, text/plain, */* + + + + + + + 200 + + + Assertion.response_code + false + 8 + + + + + + groovy + + + true + ${__Random(0,100000000000, randomUserNamespace)} + To avoid collision between tests + + + + false + true + false + + + + true + ${userCount} + + + + 1 + ${userCount} + 1 + userIndex + + true + + + + true + + + + false + { + "extra": { + "first_name": "First Name${randomUserNamespace}", + "last_name": "Last Name${randomUserNamespace}" + }, + "username": "u_${randomUserNamespace}_${userIndex}" +} + = + + + + ${host} + ${port} + ${scheme} + utf-8 + /users/api/v1/user + POST + true + false + true + false + + + + + + + + + content-type + application/json + + + + + + + 200 + + + Assertion.response_code + false + 8 + + + + username + u_${randomUserNamespace}_${userIndex} + true + false + false + true + + + + + + false + true + + + + true + + + + false + {"username":"admin","password":"secret1234"} + = + + + + ${host} + ${port} + ${scheme} + UTF-8 + /api/v1/auth + POST + true + false + true + false + + + + + + + + + Referer + ${scheme}://${host}:${port}/ + + + Accept-Language + en-US,en;q=0.5 + + + Origin + ${scheme}://${host}:${port} + + + Content-Type + application/json + + + Accept-Encoding + gzip, deflate + + + User-Agent + Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:123.0) Gecko/20100101 Firefox/123.0 + + + Accept + application/json, text/plain, */* + + + + + + + 200 + + + Assertion.response_code + false + 8 + + + + + + + + ${host} + ${port} + ${scheme} + utf-8 + /api/v1/extension/nostrnip5/enable + PUT + 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 + + + X-Api-Keyxxx + ${adminWalletKey} + + + + + + + 200 + + + Assertion.response_code + false + 8 + + + + success + true + true + false + false + true + + + + + + + + ${host} + ${port} + ${scheme} + utf-8 + /api/v1/extension/lnurlp/enable + PUT + 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 + + + X-Api-Keyxxx + ${adminWalletKey} + + + + + + + 200 + + + Assertion.response_code + false + 8 + + + + success + true + true + false + false + true + + + + + true + + + + false + { + "lnaddress_api_endpoint": "${scheme}://${host}:${port}", + "lnaddress_api_admin_key": "${adminWalletKey}" +} + = + + + + ${host} + ${port} + ${scheme} + utf-8 + /nostrnip5/api/v1/settings + PUT + true + false + true + false + + HttpClient4 + + + + + + + + Sec-Fetch-Mode + cors + + + Sec-Fetch-Site + same-origin + + + 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 + + + + + + + + ${host} + ${port} + ${scheme} + UTF-8 + /api/v1/auth/logout + POST + true + false + true + false + + + + + + + + + Referer + ${scheme}://${host}:${port}/ + + + Accept-Language + en-US,en;q=0.5 + + + Origin + ${scheme}://${host}:${port} + + + Content-Type + application/json + + + Accept-Encoding + gzip, deflate + + + User-Agent + Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:123.0) Gecko/20100101 Firefox/123.0 + + + Accept + application/json, text/plain, */* + + + + + + + 200 + + + Assertion.response_code + false + 8 + + + + + + false + true + + + + fragments/init-account.jmx + + + + + + + ${host} + ${port} + ${scheme} + utf-8 + /api/v1/extension/auction_house/enable + PUT + 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 + + + + success + true + true + false + false + true + + + + + + + + ${host} + ${port} + ${scheme} + utf-8 + /api/v1/extension/nostrnip5/enable + PUT + 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 + + + + success + true + true + false + false + true + + + + + + + + ${host} + ${port} + ${scheme} + utf-8 + /api/v1/extension/lnurlp/enable + PUT + 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 + + + + success + true + true + false + false + true + + + + + ownerUserId + $ + + variable + userId + + + + ownerWalletId + $ + + variable + walletId + + + + ownerInkey + $ + + variable + inkey + + + + ownerAdminkey + $ + + variable + adminkey + + + + false + true + false + + + + + false + true + + + + true + + + + false + { + "cost_extra": { + "max_years": "3", + "char_count_cost": [], + "rank_cost": [], + "transfer_secret": "1234" + }, + "wallet": "${walletId}", + "currency": "USD", + "domain": "nostr.com", + "cost": "100" +} + = + + + + ${host} + ${port} + ${scheme} + utf-8 + /nostrnip5/api/v1/domain + POST + true + false + true + false + + + + + + + + + Sec-Fetch-Mode + cors + + + Sec-Fetch-Site + same-origin + + + 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 + + + + domain + nostr.com + true + false + false + false + + + + domainId + id + + + + + cost_extra + {"rank_cost":[],"promotions":[],"max_years":3,"transfer_secret":"1234","char_count_cost":[]} + true + false + false + false + + + + + true + + + + false + { + "lnaddress_api_endpoint": "${scheme}://${host}:${port}", + "lnaddress_api_admin_key": "${adminWalletKey}" +} + = + + + + ${host} + ${port} + ${scheme} + utf-8 + /nostrnip5/api/v1/settings + PUT + true + false + true + false + + HttpClient4 + + + + + + + + Sec-Fetch-Mode + cors + + + Sec-Fetch-Site + same-origin + + + 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 + + + + + + false + true + + + + fragments/init-account.jmx + + + + sellerUserId + $ + + variable + userId + + + + sellerInkey + $ + + variable + inkey + + + + + + + ${host} + ${port} + ${scheme} + utf-8 + /api/v1/extension/auction_house/enable + PUT + 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 + + + + success + true + true + false + false + true + + + + + + + + ${host} + ${port} + ${scheme} + utf-8 + /api/v1/extension/nostrnip5/enable + PUT + 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 + + + + success + true + true + false + false + true + + + + + true + ${nipAddressCount} + + + + 1 + + 1 + nipAddressCounter + + false + + + + false + true + + + + true + + + + false + { + "config": { + "relays": [ + "relay.nostr.com" + ] + }, + "pubkey": "04c915daefee38317fa734444acee390a8269fe5810b2241e5e6dd343dfbecc9", + "local_part": "id_${nipAddressCounter}__${domainId}", + "domain_id": "${domainId}" +} + = + + + + ${host} + ${port} + ${scheme} + utf-8 + /nostrnip5/api/v1/user/domain/${domainId}/address + POST + true + false + true + false + + + + + + + + + Sec-Fetch-Mode + cors + + + Sec-Fetch-Site + same-origin + + + 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 + + + + domain_id + ${domainId} + true + false + false + false + + + + addressId + id + + + + + + + + + ${host} + ${port} + ${scheme} + utf-8 + /nostrnip5/api/v1/domain/${domainId}/address/${addressId}/activate + PUT + true + false + true + false + + + + + + + + + Sec-Fetch-Mode + cors + + + Sec-Fetch-Site + same-origin + + + Origin + ${scheme}://${host}:${port} + + + Accept + application/json, text/plain, */* + + + X-Api-Key + ${ownerAdminkey} + + + 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 + + + + domain_id + ${domainId} + true + false + false + false + + + + active + true + true + false + false + false + + + + + + + + true + + + + false + {"usr":"${ownerUserId}"} + = + + + + ${host} + ${port} + ${scheme} + UTF-8 + /api/v1/auth/usr + POST + true + false + true + false + + + + + + + + + Referer + ${scheme}://${host}:${port}/ + + + Accept-Language + en-US,en;q=0.5 + + + Origin + ${scheme}://${host}:${port} + + + Content-Type + application/json + + + Accept-Encoding + gzip, deflate + + + User-Agent + Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:123.0) Gecko/20100101 Firefox/123.0 + + + Accept + application/json, text/plain, */* + + + + + + + 200 + + + Assertion.response_code + false + 8 + + + + + false + true + + + + true + + + + false + { + "name": "nip5 sales", + "description": "Auctions for Nip5", + "fee_wallet_id": "${ownerWalletId}", + "currency": "USD", + "type": "fixed_price" +} + = + + + + ${host} + ${port} + ${scheme} + utf-8 + /auction_house/api/v1/auction_room + POST + true + false + true + false + + + + + + + + + Sec-Fetch-Mode + cors + + + Sec-Fetch-Site + same-origin + + + 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 + + + + name + nip5 sales + true + false + false + false + + + + sellRoomId + id + + + + + extra + { + "duration": { + "days": 7, + "hours": 0, + "minutes": 0 + }, + "lock_webhook": { + "method": "GET", + "url": "", + "headers": "", + "data": "" + }, + "unlock_webhook": { + "method": "GET", + "url": "", + "headers": "", + "data": "" + }, + "transfer_webhook": { + "method": "GET", + "url": "", + "headers": "", + "data": "" + } + } + true + false + false + false + + + + + true + + + + false + { + "id": "${sellRoomId}", + "name": "nip5 sells", + "description": "Sells for Nip5", + "currency": "sat", + "type": "fixed_price", + "room_percentage": 20, + "fee_wallet_id": "${ownerWalletId}", + "is_open_room": true, + "extra": { + "duration": { + "days": 7, + "hours": 0, + "minutes": 0 + }, + "lock_webhook": { + "method": "PUT", + "url": "http://localhost:5000/nostrnip5/api/v1/domain/${domainId}/address/lock", + "headers": "", + "data": "{\n \"transfer_code\": \"${transfer_code}\"\n}" + }, + "unlock_webhook": { + "method": "PUT", + "url": "http://localhost:5000/nostrnip5/api/v1/domain/${domainId}/address/unlock", + "headers": "", + "data": "{\n \"lock_code\": \"${lock_code}\"\n}" + }, + "transfer_webhook": { + "method": "PUT", + "url": "http://localhost:5000/nostrnip5/api/v1/domain/${domainId}/address/transfer", + "headers": "", + "data": "{\n \"lock_code\": \"${lock_code}\",\n \"new_owner_id\": \"${new_owner_id}\"\n}" + } + } +} + = + + + + ${host} + ${port} + ${scheme} + utf-8 + /auction_house/api/v1/auction_room + PUT + true + false + true + false + + + + + + + + + Sec-Fetch-Mode + cors + + + Sec-Fetch-Site + same-origin + + + 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 + + + + name + nip5 sells + true + false + false + false + + + + extra + { + "duration": { + "days": 365, + "hours": 0, + "minutes": 0 + }, + "lock_webhook": { + "method": "PUT", + "url": "http://localhost:5000/nostrnip5/api/v1/domain/${domainId}/address/lock", + "headers": "", + "data": "{\n \"transfer_code\": \"${transfer_code}\"\n}" + }, + "transfer_webhook": { + "method": "PUT", + "url": "http://localhost:5000/nostrnip5/api/v1/domain/${domainId}/address/transfer", + "headers": "", + "data": "{\n \"lock_code\": \"${lock_code}\",\n \"new_owner_id\": \"${new_owner_id}\"\n}" + }, + "unlock_webhook": { + "method": "PUT", + "url": "http://localhost:5000/nostrnip5/api/v1/domain/${domainId}/address/unlock", + "headers": "", + "data": "{\n \"lock_code\": \"${lock_code}\"\n}" + } +} + true + false + false + false + + + + + true + + + + false + { + "name": "nip5 auctions", + "description": "Auctions for Nip5", + "fee_wallet_id": "${ownerWalletId}", + "currency": "USD", + "type": "auction" +} + = + + + + ${host} + ${port} + ${scheme} + utf-8 + /auction_house/api/v1/auction_room + POST + true + false + true + false + + + + + + + + + Sec-Fetch-Mode + cors + + + Sec-Fetch-Site + same-origin + + + 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 + + + + name + nip5 auctions + true + false + false + false + + + + auctionRoomId + id + + + + + extra + { + "duration": { + "days": 7, + "hours": 0, + "minutes": 0 + }, + "lock_webhook": { + "method": "GET", + "url": "", + "headers": "", + "data": "" + }, + "unlock_webhook": { + "method": "GET", + "url": "", + "headers": "", + "data": "" + }, + "transfer_webhook": { + "method": "GET", + "url": "", + "headers": "", + "data": "" + } + } + true + false + false + false + + + + + true + + + + false + { + "id": "${auctionRoomId}", + "name": "nip5 auctions", + "description": "Auctions for Nip5", + "currency": "sat", + "type": "auction", + "min_bid_up_percentage": 5, + "room_percentage": 10, + "fee_wallet_id": "${ownerWalletId}", + "is_open_room": true, + "extra": { + "duration": { + "days": 7, + "hours": 0, + "minutes": 0 + }, + "lock_webhook": { + "method": "PUT", + "url": "http://localhost:5000/nostrnip5/api/v1/domain/${domainId}/address/lock", + "headers": "", + "data": "{\n \"transfer_code\": \"${transfer_code}\"\n}" + }, + "unlock_webhook": { + "method": "PUT", + "url": "http://localhost:5000/nostrnip5/api/v1/domain/${domainId}/address/unlock", + "headers": "", + "data": "{\n \"lock_code\": \"${lock_code}\"\n}" + }, + "transfer_webhook": { + "method": "PUT", + "url": "http://localhost:5000/nostrnip5/api/v1/domain/${domainId}/address/transfer", + "headers": "", + "data": "{\n \"lock_code\": \"${lock_code}\",\n \"new_owner_id\": \"${new_owner_id}\"\n}" + } + } +} + = + + + + ${host} + ${port} + ${scheme} + utf-8 + /auction_house/api/v1/auction_room + PUT + true + false + true + false + + + + + + + + + Sec-Fetch-Mode + cors + + + Sec-Fetch-Site + same-origin + + + 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 + + + + name + nip5 auctions + true + false + false + false + + + + extra + { + "duration": { + "days": 7, + "hours": 0, + "minutes": 0 + }, + "lock_webhook": { + "method": "PUT", + "url": "http://localhost:5000/nostrnip5/api/v1/domain/${domainId}/address/lock", + "headers": "", + "data": "{\n \"transfer_code\": \"${transfer_code}\"\n}" + }, + "unlock_webhook": { + "method": "PUT", + "url": "http://localhost:5000/nostrnip5/api/v1/domain/${domainId}/address/unlock", + "headers": "", + "data": "{\n \"lock_code\": \"${lock_code}\"\n}" + }, + "transfer_webhook": { + "method": "PUT", + "url": "http://localhost:5000/nostrnip5/api/v1/domain/${domainId}/address/transfer", + "headers": "", + "data": "{\n \"lock_code\": \"${lock_code}\",\n \"new_owner_id\": \"${new_owner_id}\"\n}" + } + } + true + false + false + false + + + + + + false + true + + + + true + + + + false + {"usr":"${sellerUserId}"} + = + + + + ${host} + ${port} + ${scheme} + UTF-8 + /api/v1/auth/usr + POST + true + false + true + false + + + + + + + + + Referer + ${scheme}://${host}:${port}/ + + + Accept-Language + en-US,en;q=0.5 + + + Origin + ${scheme}://${host}:${port} + + + Content-Type + application/json + + + Accept-Encoding + gzip, deflate + + + User-Agent + Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:123.0) Gecko/20100101 Firefox/123.0 + + + Accept + application/json, text/plain, */* + + + + + + + 200 + + + Assertion.response_code + false + 8 + + + + + + + + ${host} + ${port} + ${scheme} + utf-8 + /nostrnip5/api/v1/user/addresses?active=true + GET + true + false + true + false + + + + + + + + + Sec-Fetch-Mode + cors + + + Sec-Fetch-Site + same-origin + + + Origin + ${scheme}://${host}:${port} + + + Accept + application/json, text/plain, */* + + + 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 + + + + addresses_list + $ + + + + + + true + ${nipAddressCount} + + + + 0 + ${nipAddressCount} + 1 + addressIndex + + true + + + + userAddressId + [${addressIndex}].id + + variable + addresses_list + no_address_id + + + + userAddressName + [${addressIndex}].local_part + + variable + addresses_list + no_address_name + + + + false + true + false + + + + + + + ${host} + ${port} + ${scheme} + utf-8 + /nostrnip5/api/v1/domain/${domainId}/address/${userAddressId}/transfer + GET + true + false + true + false + + + + + + + + + Sec-Fetch-Mode + cors + + + Sec-Fetch-Site + same-origin + + + 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 + + + + transfer_code + + false + false + false + false + + + + transferCode + transfer_code + + no_transfer_code + + + + + true + + + + false + { + "name": "${userAddressName}", + "ask_price": 10.${addressIndex}, + "transfer_code": "${transferCode}" +} + = + + + + ${host} + ${port} + ${scheme} + utf-8 + /auction_house/api/v1/items/${auctionRoomId} + POST + true + false + true + false + + + + + + + + + Sec-Fetch-Mode + cors + + + Sec-Fetch-Site + same-origin + + + 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 + + + + ask_price + 10.${addressIndex} + true + false + false + false + + + + auctionItemId + id + + + + + + + + false + true + + + + true + ${bidCount} + + + + 1 + ${bidCount} + 1 + bidIndex + + true + + + + fragments/init-account.jmx + + + + bidderUserId_${bidIndex} + $ + + variable + userId + + + + bidderInkey_${bidIndex} + $ + + variable + inkey + + + + + + + ${host} + ${port} + ${scheme} + UTF-8 + /api/v1/auth/logout + POST + true + false + true + false + + + + + + + + + Referer + ${scheme}://${host}:${port}/ + + + Accept-Language + en-US,en;q=0.5 + + + Origin + ${scheme}://${host}:${port} + + + Content-Type + application/json + + + Accept-Encoding + gzip, deflate + + + User-Agent + Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:123.0) Gecko/20100101 Firefox/123.0 + + + Accept + application/json, text/plain, */* + + + + + + + 200 + + + Assertion.response_code + false + 8 + + + + + false + true + false + do not remove + + + + + + false + true + + + + true + ${bidCount} + + + + 1 + ${bidCount} + 1 + bidIndex + + true + + + + bidderUserIdOk + $ + + variable + bidderUserId_${bidIndex} + no_bidder_user_id + + + + false + true + false + do not remove + + + + true + + + + false + {"usr":"${bidderUserIdOk}"} + = + + + + ${host} + ${port} + ${scheme} + UTF-8 + /api/v1/auth/usr + POST + true + false + true + false + + + + + + + + + Referer + ${scheme}://${host}:${port}/ + + + Accept-Language + en-US,en;q=0.5 + + + Origin + ${scheme}://${host}:${port} + + + Content-Type + application/json + + + Accept-Encoding + gzip, deflate + + + User-Agent + Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:123.0) Gecko/20100101 Firefox/123.0 + + + Accept + application/json, text/plain, */* + + + + + + + 200 + + + Assertion.response_code + false + 8 + + + + + true + + + + false + {"amount": ${bidIndex}00,"ln_address":"","memo":"bid index: ${bidIndex}"} + = + + + + ${host} + ${port} + ${scheme} + utf-8 + /auction_house/api/v1/bids/${auctionItemId} + PUT + true + false + true + false + + + + + + + + + Sec-Fetch-Mode + cors + + + Sec-Fetch-Site + same-origin + + + 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 + + + + payment_request + + false + false + false + false + + + + paymentRequest + payment_request + + + + + paymentHash + payment_hash + + + + + + true + + + + false + {"out":true,"bolt11":"${paymentRequest}"} + = + + + + ${host} + ${port} + ${scheme} + utf-8 + /api/v1/payments + POST + true + false + true + false + + + + + + + + + Accept + application/json, text/plain, */* + + + X-Api-Key + ${adminWalletKey} + + + Content-Type + application/json + + + + + + + 201 + + + Assertion.response_code + false + 8 + + + + payment_hash + ${paymentHash} + true + false + false + false + + + + + false + true + false + do not remove + + + + + + + ${host} + ${port} + ${scheme} + UTF-8 + /api/v1/auth/logout + POST + true + false + true + false + + + + + + + + + Referer + ${scheme}://${host}:${port}/ + + + Accept-Language + en-US,en;q=0.5 + + + Origin + ${scheme}://${host}:${port} + + + Content-Type + application/json + + + Accept-Encoding + gzip, deflate + + + User-Agent + Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:123.0) Gecko/20100101 Firefox/123.0 + + + Accept + application/json, text/plain, */* + + + + + + + 200 + + + Assertion.response_code + false + 8 + + + + + + + false + true + + + + false + true + false + + + + 1000 + + + + + false + true + + + + true + + + + false + {"usr":"${ownerUserId}"} + = + + + + ${host} + ${port} + ${scheme} + UTF-8 + /api/v1/auth/usr + POST + true + false + true + false + + + + + + + + + Referer + ${scheme}://${host}:${port}/ + + + Accept-Language + en-US,en;q=0.5 + + + Origin + ${scheme}://${host}:${port} + + + Content-Type + application/json + + + Accept-Encoding + gzip, deflate + + + User-Agent + Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:123.0) Gecko/20100101 Firefox/123.0 + + + Accept + application/json, text/plain, */* + + + + + + + 200 + + + Assertion.response_code + false + 8 + + + + + + + + ${host} + ${port} + ${scheme} + utf-8 + /auction_house/api/v1/items/${auctionItemId} + GET + true + false + true + false + + + + + + + + + Sec-Fetch-Mode + cors + + + Sec-Fetch-Site + same-origin + + + 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 + + + + next_min_bid + 105.0 + true + false + false + false + + + + current_price + ${bidCount}00.0 + true + false + false + false + + + + user_is_owner + false + true + false + false + false + + + + user_is_participant + false + true + false + false + false + + + + user_is_top_bidder + false + true + false + false + false + + + + + + + + ${host} + ${port} + ${scheme} + UTF-8 + /api/v1/payments + GET + true + false + true + false + + + + + + + + + Referer + ${scheme}://${host}:${port}/wallet?wal=${walletId} + + + Accept-Language + en-US,en;q=0.5 + + + X-Api-Key + ${ownerInkey} + + + 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, */* + + + + + + payments + $[*] + -1 + bidderInkey_${bidIndex} + no_payments + + + + + 0 + + + Assertion.response_data + false + 8 + variable + payments_matchNr + + + + + + + + ${host} + ${port} + ${scheme} + UTF-8 + /api/v1/auth/logout + POST + true + false + true + false + + + + + + + + + Referer + ${scheme}://${host}:${port}/ + + + Accept-Language + en-US,en;q=0.5 + + + Origin + ${scheme}://${host}:${port} + + + Content-Type + application/json + + + Accept-Encoding + gzip, deflate + + + User-Agent + Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:123.0) Gecko/20100101 Firefox/123.0 + + + Accept + application/json, text/plain, */* + + + + + + + 200 + + + Assertion.response_code + false + 8 + + + + + true + ${bidCount} + + + + 1 + ${bidCount} + 1 + bidIndex + + true + + + + inkeyForBidderWallet + $ + + variable + bidderInkey_${bidIndex} + no_wallet_inkey + + + + ${__groovy(vars.get('bidCount').equals(vars.get('bidIndex')),)} + false + true + + + + false + true + 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 + ${inkeyForBidderWallet} + + + 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 + + + + balance + 0 + true + false + false + false + no refund + + + + + + + + ${host} + ${port} + ${scheme} + UTF-8 + /api/v1/payments + GET + true + false + true + false + + + + + + + + + Referer + ${scheme}://${host}:${port}/wallet?wal=${walletId} + + + Accept-Language + en-US,en;q=0.5 + + + X-Api-Key + ${inkeyForBidderWallet} + + + 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, */* + + + + + + payments + $[*] + -1 + bidderInkey_${bidIndex} + no_payments + + + + + 0 + + + Assertion.response_data + false + 8 + no refund + variable + payments_matchNr + + + + + winnerUserId + $ + + variable + bidderUserId_${bidIndex} + + + + + ${__groovy(!vars.get('bidCount').equals(vars.get('bidIndex')),)} + false + true + + + + false + true + 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 + ${inkeyForBidderWallet} + + + 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 + + + + balance + ${bidIndex}00000 + true + false + false + false + check in millisats + + + + + + + + ${host} + ${port} + ${scheme} + UTF-8 + /api/v1/payments + GET + true + false + true + false + + + + + + + + + Referer + ${scheme}://${host}:${port}/wallet?wal=${walletId} + + + Accept-Language + en-US,en;q=0.5 + + + X-Api-Key + ${inkeyForBidderWallet} + + + 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, */* + + + + + + payments + $[*] + -1 + bidderInkey_${bidIndex} + no_payments + + + + + 1 + + + Assertion.response_data + false + 8 + variable + payments_matchNr + + + + + refundedBidCount + $ + + variable + bidIndex + + + + + + + false + true + + + + true + + + + false + {"usr":"${ownerUserId}"} + = + + + + ${host} + ${port} + ${scheme} + UTF-8 + /api/v1/auth/usr + POST + true + false + true + false + + + + + + + + + Referer + ${scheme}://${host}:${port}/ + + + Accept-Language + en-US,en;q=0.5 + + + Origin + ${scheme}://${host}:${port} + + + Content-Type + application/json + + + Accept-Encoding + gzip, deflate + + + User-Agent + Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:123.0) Gecko/20100101 Firefox/123.0 + + + Accept + application/json, text/plain, */* + + + + + + + 200 + + + Assertion.response_code + false + 8 + + + + + + + + false + true + = + true + force_close + + + + ${host} + ${port} + ${scheme} + utf-8 + /auction_house/api/v1/items/${auctionItemId} + DELETE + true + false + true + false + + + + + + + + + Sec-Fetch-Mode + cors + + + Sec-Fetch-Site + same-origin + + + Origin + ${scheme}://${host}:${port} + + + Accept + application/json, text/plain, */* + + + 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 + + + + success + true + true + false + false + false + + + + message + Auction Closed + true + false + false + false + + + + + + + + ${host} + ${port} + ${scheme} + UTF-8 + /api/v1/payments + GET + true + false + true + false + + + + + + + + + Referer + ${scheme}://${host}:${port}/wallet?wal=${walletId} + + + Accept-Language + en-US,en;q=0.5 + + + X-Api-Key + ${ownerInkey} + + + 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, */* + + + + + + payments + $[*] + -1 + bidderInkey_${bidIndex} + no_payments + + + + + 1 + + + Assertion.response_data + false + 8 + variable + payments_matchNr + + + + + + + + ${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 + ${ownerInkey} + + + 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 + + + + balance + ${bidCount}0000 + true + false + false + false + check in millisats + + + + + + + + ${host} + ${port} + ${scheme} + UTF-8 + /api/v1/auth/logout + POST + true + false + true + false + + + + + + + + + Referer + ${scheme}://${host}:${port}/ + + + Accept-Language + en-US,en;q=0.5 + + + Origin + ${scheme}://${host}:${port} + + + Content-Type + application/json + + + Accept-Encoding + gzip, deflate + + + User-Agent + Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:123.0) Gecko/20100101 Firefox/123.0 + + + Accept + application/json, text/plain, */* + + + + + + + 200 + + + Assertion.response_code + false + 8 + + + + + + false + true + + + + true + + + + false + {"usr":"${sellerUserId}"} + = + + + + ${host} + ${port} + ${scheme} + UTF-8 + /api/v1/auth/usr + POST + true + false + true + false + + + + + + + + + Referer + ${scheme}://${host}:${port}/ + + + Accept-Language + en-US,en;q=0.5 + + + Origin + ${scheme}://${host}:${port} + + + Content-Type + application/json + + + Accept-Encoding + gzip, deflate + + + User-Agent + Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:123.0) Gecko/20100101 Firefox/123.0 + + + Accept + application/json, text/plain, */* + + + + + + + 200 + + + Assertion.response_code + false + 8 + + + + + + + + ${host} + ${port} + ${scheme} + UTF-8 + /api/v1/payments + GET + true + false + true + false + + + + + + + + + Referer + ${scheme}://${host}:${port}/wallet?wal=${walletId} + + + Accept-Language + en-US,en;q=0.5 + + + X-Api-Key + ${sellerInkey} + + + 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, */* + + + + + + payments + $[*] + -1 + bidderInkey_${bidIndex} + no_payments + + + + + 1 + + + Assertion.response_data + false + 8 + variable + payments_matchNr + + + + + + + + ${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 + ${sellerInkey} + + + 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 + + + + balance + ${bidCount}000 + true + false + false + false + check in millisats + + + + + + + + ${host} + ${port} + ${scheme} + utf-8 + /nostrnip5/api/v1/user/addresses?active=true + GET + true + false + true + false + + + + + + + + + Sec-Fetch-Mode + cors + + + Sec-Fetch-Site + same-origin + + + Origin + ${scheme}://${host}:${port} + + + Accept + application/json, text/plain, */* + + + 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 + + + + + + + + ${host} + ${port} + ${scheme} + UTF-8 + /api/v1/auth/logout + POST + true + false + true + false + + + + + + + + + Referer + ${scheme}://${host}:${port}/ + + + Accept-Language + en-US,en;q=0.5 + + + Origin + ${scheme}://${host}:${port} + + + Content-Type + application/json + + + Accept-Encoding + gzip, deflate + + + User-Agent + Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:123.0) Gecko/20100101 Firefox/123.0 + + + Accept + application/json, text/plain, */* + + + + + + + 200 + + + Assertion.response_code + false + 8 + + + + + + false + true + + + + true + + + + false + {"usr":"${winnerUserId}"} + = + + + + ${host} + ${port} + ${scheme} + UTF-8 + /api/v1/auth/usr + POST + true + false + true + false + + + + + + + + + Referer + ${scheme}://${host}:${port}/ + + + Accept-Language + en-US,en;q=0.5 + + + Origin + ${scheme}://${host}:${port} + + + Content-Type + application/json + + + Accept-Encoding + gzip, deflate + + + User-Agent + Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:123.0) Gecko/20100101 Firefox/123.0 + + + Accept + application/json, text/plain, */* + + + + + + + 200 + + + Assertion.response_code + false + 8 + + + + + + + + ${host} + ${port} + ${scheme} + utf-8 + /nostrnip5/api/v1/user/addresses?active=true + GET + true + false + true + false + + + + + + + + + Sec-Fetch-Mode + cors + + + Sec-Fetch-Site + same-origin + + + Origin + ${scheme}://${host}:${port} + + + Accept + application/json, text/plain, */* + + + 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 + + + + addressCount + $[*] + -1 + bidderInkey_${bidIndex} + no_addresses_for_winner + + + + + 1 + + + Assertion.response_data + false + 8 + variable + payments_matchNr + + + + $[0].local_part + ${userAddressName} + true + false + false + false + + + + + + + + ${host} + ${port} + ${scheme} + UTF-8 + /api/v1/auth/logout + POST + true + false + true + false + + + + + + + + + Referer + ${scheme}://${host}:${port}/ + + + Accept-Language + en-US,en;q=0.5 + + + Origin + ${scheme}://${host}:${port} + + + Content-Type + application/json + + + Accept-Encoding + gzip, deflate + + + User-Agent + Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:123.0) Gecko/20100101 Firefox/123.0 + + + Accept + application/json, text/plain, */* + + + + + + + 200 + + + Assertion.response_code + false + 8 + + + + + + false + true + + + + true + + + + false + {"usr":"${sellerUserId}"} + = + + + + ${host} + ${port} + ${scheme} + UTF-8 + /api/v1/auth/usr + POST + true + false + true + false + + + + + + + + + Referer + ${scheme}://${host}:${port}/ + + + Accept-Language + en-US,en;q=0.5 + + + Origin + ${scheme}://${host}:${port} + + + Content-Type + application/json + + + Accept-Encoding + gzip, deflate + + + User-Agent + Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:123.0) Gecko/20100101 Firefox/123.0 + + + Accept + application/json, text/plain, */* + + + + + + + 200 + + + Assertion.response_code + false + 8 + + + + + + + + false + true + = + true + active + + + + ${host} + ${port} + ${scheme} + utf-8 + /nostrnip5/api/v1/user/addresses + GET + true + false + true + false + + + + + + + + + Sec-Fetch-Mode + cors + + + Sec-Fetch-Site + same-origin + + + Origin + ${scheme}://${host}:${port} + + + Accept + application/json, text/plain, */* + + + 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 + + + + fixedPriceAddressId + $[0].id + + + + + fixedPriceAddress + $[0].local_part + + + + + + + + + false + ask_price + = + true + sortby + + + false + asc + = + true + direction + + + false + ${fixedPriceAddress} + = + true + name + + + + ${host} + ${port} + ${scheme} + utf-8 + /auction_house/api/v1/items/${auctionRoomId}/paginated? + GET + true + false + true + false + + + + + + + + + Sec-Fetch-Mode + cors + + + Sec-Fetch-Site + same-origin + + + 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 + + + + fixedPriceItemId + data[0].id + + + + + fixedPriceItemName + data[0].name + + + + + + + + + false + true + = + true + force_close + + + + ${host} + ${port} + ${scheme} + utf-8 + /auction_house/api/v1/items/${fixedPriceItemId} + DELETE + true + false + true + false + + + + + + + + + Sec-Fetch-Mode + cors + + + Sec-Fetch-Site + same-origin + + + Origin + ${scheme}://${host}:${port} + + + Accept + application/json, text/plain, */* + + + 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 + + + + success + true + true + false + false + false + + + + message + Auction Closed + true + false + false + false + + + + + + + + ${host} + ${port} + ${scheme} + utf-8 + /nostrnip5/api/v1/domain/${domainId}/address/${fixedPriceAddressId}/transfer + GET + true + false + true + false + + + + + + + + + Sec-Fetch-Mode + cors + + + Sec-Fetch-Site + same-origin + + + 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 + + + + transfer_code + + false + false + false + false + + + + transferCode + transfer_code + + no_transfer_code + + + + + true + + + + false + { + "name": "${fixedPriceItemName}", + "ask_price": 5000, + "transfer_code": "${transferCode}" +} + = + + + + ${host} + ${port} + ${scheme} + utf-8 + /auction_house/api/v1/items/${sellRoomId} + POST + true + false + true + false + + + + + + + + + Sec-Fetch-Mode + cors + + + Sec-Fetch-Site + same-origin + + + 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 + + + + ask_price + 5000.0 + true + false + false + false + + + + sellItemId + id + + + + + + fragments/init-account.jmx + + + + fixedPriceBuyerUserId + $ + + variable + userId + + + + true + + + + false + {"amount": 5000,"ln_address":"","memo":"fixed price buy"} + = + + + + ${host} + ${port} + ${scheme} + utf-8 + /auction_house/api/v1/bids/${sellItemId} + PUT + true + false + true + false + + + + + + + + + Sec-Fetch-Mode + cors + + + Sec-Fetch-Site + same-origin + + + 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 + + + + payment_request + + false + false + false + false + + + + paymentRequest + payment_request + + + + + paymentHash + payment_hash + + + + + + true + + + + false + {"out":true,"bolt11":"${paymentRequest}"} + = + + + + ${host} + ${port} + ${scheme} + utf-8 + /api/v1/payments + POST + true + false + true + false + + + + + + + + + Accept + application/json, text/plain, */* + + + X-Api-Key + ${adminWalletKey} + + + Content-Type + application/json + + + + + + + 201 + + + Assertion.response_code + false + 8 + + + + payment_hash + ${paymentHash} + true + false + false + false + + + + + + false + true + + + + false + true + false + + + + 1000 + + + + + false + true + + + + true + + + + false + {"usr":"${ownerUserId}"} + = + + + + ${host} + ${port} + ${scheme} + UTF-8 + /api/v1/auth/usr + POST + true + false + true + false + + + + + + + + + Referer + ${scheme}://${host}:${port}/ + + + Accept-Language + en-US,en;q=0.5 + + + Origin + ${scheme}://${host}:${port} + + + Content-Type + application/json + + + Accept-Encoding + gzip, deflate + + + User-Agent + Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:123.0) Gecko/20100101 Firefox/123.0 + + + Accept + application/json, text/plain, */* + + + + + + + 200 + + + Assertion.response_code + false + 8 + + + + + + + + ${host} + ${port} + ${scheme} + UTF-8 + /api/v1/payments + GET + true + false + true + false + + + + + + + + + Referer + ${scheme}://${host}:${port}/wallet?wal=${walletId} + + + Accept-Language + en-US,en;q=0.5 + + + X-Api-Key + ${ownerInkey} + + + 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, */* + + + + + + payments + $[*] + -1 + bidderInkey_${bidIndex} + no_payments + + + + + 2 + + + Assertion.response_data + false + 8 + variable + payments_matchNr + + + + + + + + ${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 + ${ownerInkey} + + + 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 + + + + balance + ${bidCount}0000 + true + false + false + false + check in millisats + + + + + + + + ${host} + ${port} + ${scheme} + UTF-8 + /api/v1/auth/logout + POST + true + false + true + false + + + + + + + + + Referer + ${scheme}://${host}:${port}/ + + + Accept-Language + en-US,en;q=0.5 + + + Origin + ${scheme}://${host}:${port} + + + Content-Type + application/json + + + Accept-Encoding + gzip, deflate + + + User-Agent + Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:123.0) Gecko/20100101 Firefox/123.0 + + + Accept + application/json, text/plain, */* + + + + + + + 200 + + + Assertion.response_code + false + 8 + + + + + + false + true + + + + true + + + + false + {"usr":"${sellerUserId}"} + = + + + + ${host} + ${port} + ${scheme} + UTF-8 + /api/v1/auth/usr + POST + true + false + true + false + + + + + + + + + Referer + ${scheme}://${host}:${port}/ + + + Accept-Language + en-US,en;q=0.5 + + + Origin + ${scheme}://${host}:${port} + + + Content-Type + application/json + + + Accept-Encoding + gzip, deflate + + + User-Agent + Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:123.0) Gecko/20100101 Firefox/123.0 + + + Accept + application/json, text/plain, */* + + + + + + + 200 + + + Assertion.response_code + false + 8 + + + + + + + + ${host} + ${port} + ${scheme} + UTF-8 + /api/v1/payments + GET + true + false + true + false + + + + + + + + + Referer + ${scheme}://${host}:${port}/wallet?wal=${walletId} + + + Accept-Language + en-US,en;q=0.5 + + + X-Api-Key + ${sellerInkey} + + + 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, */* + + + + + + payments + $[*] + -1 + bidderInkey_${bidIndex} + no_payments + + + + + 2 + + + Assertion.response_data + false + 8 + variable + payments_matchNr + + + + $[0].amount + 4000000 + 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 + ${sellerInkey} + + + 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 + + + + balance + ${bidCount}000 + true + false + false + false + check in millisats + + + + + + + + ${host} + ${port} + ${scheme} + utf-8 + /nostrnip5/api/v1/user/addresses?active=true + GET + true + false + true + false + + + + + + + + + Sec-Fetch-Mode + cors + + + Sec-Fetch-Site + same-origin + + + Origin + ${scheme}://${host}:${port} + + + Accept + application/json, text/plain, */* + + + 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 + + + + balance + ${bidCount}000 + true + false + false + false + check in millisats + + + + + + + + ${host} + ${port} + ${scheme} + UTF-8 + /api/v1/auth/logout + POST + true + false + true + false + + + + + + + + + Referer + ${scheme}://${host}:${port}/ + + + Accept-Language + en-US,en;q=0.5 + + + Origin + ${scheme}://${host}:${port} + + + Content-Type + application/json + + + Accept-Encoding + gzip, deflate + + + User-Agent + Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:123.0) Gecko/20100101 Firefox/123.0 + + + Accept + application/json, text/plain, */* + + + + + + + 200 + + + Assertion.response_code + false + 8 + + + + + + false + true + + + + true + + + + false + {"usr":"${fixedPriceBuyerUserId}"} + = + + + + ${host} + ${port} + ${scheme} + UTF-8 + /api/v1/auth/usr + POST + true + false + true + false + + + + + + + + + Referer + ${scheme}://${host}:${port}/ + + + Accept-Language + en-US,en;q=0.5 + + + Origin + ${scheme}://${host}:${port} + + + Content-Type + application/json + + + Accept-Encoding + gzip, deflate + + + User-Agent + Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:123.0) Gecko/20100101 Firefox/123.0 + + + Accept + application/json, text/plain, */* + + + + + + + 200 + + + Assertion.response_code + false + 8 + + + + + + + + ${host} + ${port} + ${scheme} + utf-8 + /nostrnip5/api/v1/user/addresses?active=true + GET + true + false + true + false + + + + + + + + + Sec-Fetch-Mode + cors + + + Sec-Fetch-Site + same-origin + + + Origin + ${scheme}://${host}:${port} + + + Accept + application/json, text/plain, */* + + + 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 + + + + addressCount + $[*] + -1 + bidderInkey_${bidIndex} + no_addresses_for_winner + + + + + 1 + + + Assertion.response_data + false + 8 + variable + addressCount_matchNr + + + + $[0].local_part + ${fixedPriceItemName} + true + false + false + false + + + + + + + + ${host} + ${port} + ${scheme} + UTF-8 + /api/v1/auth/logout + POST + true + false + true + false + + + + + + + + + Referer + ${scheme}://${host}:${port}/ + + + Accept-Language + en-US,en;q=0.5 + + + Origin + ${scheme}://${host}:${port} + + + Content-Type + application/json + + + Accept-Encoding + gzip, deflate + + + User-Agent + Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:123.0) Gecko/20100101 Firefox/123.0 + + + Accept + application/json, text/plain, */* + + + + + + + 200 + + + Assertion.response_code + false + 8 + + + + + + false + true + false + + + + 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 + + + + + From d2f2210410f0764f4db4003adf24d3b742b53128 Mon Sep 17 00:00:00 2001 From: Vlad Stan Date: Thu, 20 Nov 2025 11:55:02 +0200 Subject: [PATCH 02/19] test: parallel user generation --- integration/load_001_users.jmx | 59 +++++++++++++++++++++++----------- 1 file changed, 40 insertions(+), 19 deletions(-) diff --git a/integration/load_001_users.jmx b/integration/load_001_users.jmx index 181f5fe6..87e1ffa4 100644 --- a/integration/load_001_users.jmx +++ b/integration/load_001_users.jmx @@ -45,7 +45,7 @@ userCount - 20 + 100 = @@ -70,21 +70,19 @@ - + continue false 1 - 30 - 60 - 1370726934000 - 1370726934000 + 1 + 1 false - false - + true + @@ -102,7 +100,30 @@ - + + + continue + + false + 1 + + 50 + 50 + 1370726934000 + 1370726934000 + false + + + false + + + + + false + false + + + false true @@ -177,16 +198,16 @@ + + groovy + + + true + ${__Random(0,100000000000, randomUserNamespace)} + To avoid collision between tests + + - - groovy - - - true - ${__Random(0,100000000000, randomUserNamespace)} - To avoid collision between tests - - false true @@ -6230,7 +6251,7 @@ - + false true false From fb0b3a61f8a79381e2e213061963d46d159099c9 Mon Sep 17 00:00:00 2001 From: Vlad Stan Date: Thu, 20 Nov 2025 16:31:26 +0200 Subject: [PATCH 03/19] test: clean-up --- integration/load_001_users.jmx | 5967 -------------------------------- 1 file changed, 5967 deletions(-) diff --git a/integration/load_001_users.jmx b/integration/load_001_users.jmx index 87e1ffa4..f0b50b3d 100644 --- a/integration/load_001_users.jmx +++ b/integration/load_001_users.jmx @@ -208,12 +208,6 @@ - - false - true - false - - true ${userCount} @@ -290,5967 +284,6 @@ - - false - true - - - - true - - - - false - {"username":"admin","password":"secret1234"} - = - - - - ${host} - ${port} - ${scheme} - UTF-8 - /api/v1/auth - POST - true - false - true - false - - - - - - - - - Referer - ${scheme}://${host}:${port}/ - - - Accept-Language - en-US,en;q=0.5 - - - Origin - ${scheme}://${host}:${port} - - - Content-Type - application/json - - - Accept-Encoding - gzip, deflate - - - User-Agent - Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:123.0) Gecko/20100101 Firefox/123.0 - - - Accept - application/json, text/plain, */* - - - - - - - 200 - - - Assertion.response_code - false - 8 - - - - - - - - ${host} - ${port} - ${scheme} - utf-8 - /api/v1/extension/nostrnip5/enable - PUT - 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 - - - X-Api-Keyxxx - ${adminWalletKey} - - - - - - - 200 - - - Assertion.response_code - false - 8 - - - - success - true - true - false - false - true - - - - - - - - ${host} - ${port} - ${scheme} - utf-8 - /api/v1/extension/lnurlp/enable - PUT - 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 - - - X-Api-Keyxxx - ${adminWalletKey} - - - - - - - 200 - - - Assertion.response_code - false - 8 - - - - success - true - true - false - false - true - - - - - true - - - - false - { - "lnaddress_api_endpoint": "${scheme}://${host}:${port}", - "lnaddress_api_admin_key": "${adminWalletKey}" -} - = - - - - ${host} - ${port} - ${scheme} - utf-8 - /nostrnip5/api/v1/settings - PUT - true - false - true - false - - HttpClient4 - - - - - - - - Sec-Fetch-Mode - cors - - - Sec-Fetch-Site - same-origin - - - 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 - - - - - - - - ${host} - ${port} - ${scheme} - UTF-8 - /api/v1/auth/logout - POST - true - false - true - false - - - - - - - - - Referer - ${scheme}://${host}:${port}/ - - - Accept-Language - en-US,en;q=0.5 - - - Origin - ${scheme}://${host}:${port} - - - Content-Type - application/json - - - Accept-Encoding - gzip, deflate - - - User-Agent - Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:123.0) Gecko/20100101 Firefox/123.0 - - - Accept - application/json, text/plain, */* - - - - - - - 200 - - - Assertion.response_code - false - 8 - - - - - - false - true - - - - fragments/init-account.jmx - - - - - - - ${host} - ${port} - ${scheme} - utf-8 - /api/v1/extension/auction_house/enable - PUT - 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 - - - - success - true - true - false - false - true - - - - - - - - ${host} - ${port} - ${scheme} - utf-8 - /api/v1/extension/nostrnip5/enable - PUT - 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 - - - - success - true - true - false - false - true - - - - - - - - ${host} - ${port} - ${scheme} - utf-8 - /api/v1/extension/lnurlp/enable - PUT - 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 - - - - success - true - true - false - false - true - - - - - ownerUserId - $ - - variable - userId - - - - ownerWalletId - $ - - variable - walletId - - - - ownerInkey - $ - - variable - inkey - - - - ownerAdminkey - $ - - variable - adminkey - - - - false - true - false - - - - - false - true - - - - true - - - - false - { - "cost_extra": { - "max_years": "3", - "char_count_cost": [], - "rank_cost": [], - "transfer_secret": "1234" - }, - "wallet": "${walletId}", - "currency": "USD", - "domain": "nostr.com", - "cost": "100" -} - = - - - - ${host} - ${port} - ${scheme} - utf-8 - /nostrnip5/api/v1/domain - POST - true - false - true - false - - - - - - - - - Sec-Fetch-Mode - cors - - - Sec-Fetch-Site - same-origin - - - 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 - - - - domain - nostr.com - true - false - false - false - - - - domainId - id - - - - - cost_extra - {"rank_cost":[],"promotions":[],"max_years":3,"transfer_secret":"1234","char_count_cost":[]} - true - false - false - false - - - - - true - - - - false - { - "lnaddress_api_endpoint": "${scheme}://${host}:${port}", - "lnaddress_api_admin_key": "${adminWalletKey}" -} - = - - - - ${host} - ${port} - ${scheme} - utf-8 - /nostrnip5/api/v1/settings - PUT - true - false - true - false - - HttpClient4 - - - - - - - - Sec-Fetch-Mode - cors - - - Sec-Fetch-Site - same-origin - - - 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 - - - - - - false - true - - - - fragments/init-account.jmx - - - - sellerUserId - $ - - variable - userId - - - - sellerInkey - $ - - variable - inkey - - - - - - - ${host} - ${port} - ${scheme} - utf-8 - /api/v1/extension/auction_house/enable - PUT - 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 - - - - success - true - true - false - false - true - - - - - - - - ${host} - ${port} - ${scheme} - utf-8 - /api/v1/extension/nostrnip5/enable - PUT - 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 - - - - success - true - true - false - false - true - - - - - true - ${nipAddressCount} - - - - 1 - - 1 - nipAddressCounter - - false - - - - false - true - - - - true - - - - false - { - "config": { - "relays": [ - "relay.nostr.com" - ] - }, - "pubkey": "04c915daefee38317fa734444acee390a8269fe5810b2241e5e6dd343dfbecc9", - "local_part": "id_${nipAddressCounter}__${domainId}", - "domain_id": "${domainId}" -} - = - - - - ${host} - ${port} - ${scheme} - utf-8 - /nostrnip5/api/v1/user/domain/${domainId}/address - POST - true - false - true - false - - - - - - - - - Sec-Fetch-Mode - cors - - - Sec-Fetch-Site - same-origin - - - 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 - - - - domain_id - ${domainId} - true - false - false - false - - - - addressId - id - - - - - - - - - ${host} - ${port} - ${scheme} - utf-8 - /nostrnip5/api/v1/domain/${domainId}/address/${addressId}/activate - PUT - true - false - true - false - - - - - - - - - Sec-Fetch-Mode - cors - - - Sec-Fetch-Site - same-origin - - - Origin - ${scheme}://${host}:${port} - - - Accept - application/json, text/plain, */* - - - X-Api-Key - ${ownerAdminkey} - - - 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 - - - - domain_id - ${domainId} - true - false - false - false - - - - active - true - true - false - false - false - - - - - - - - true - - - - false - {"usr":"${ownerUserId}"} - = - - - - ${host} - ${port} - ${scheme} - UTF-8 - /api/v1/auth/usr - POST - true - false - true - false - - - - - - - - - Referer - ${scheme}://${host}:${port}/ - - - Accept-Language - en-US,en;q=0.5 - - - Origin - ${scheme}://${host}:${port} - - - Content-Type - application/json - - - Accept-Encoding - gzip, deflate - - - User-Agent - Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:123.0) Gecko/20100101 Firefox/123.0 - - - Accept - application/json, text/plain, */* - - - - - - - 200 - - - Assertion.response_code - false - 8 - - - - - false - true - - - - true - - - - false - { - "name": "nip5 sales", - "description": "Auctions for Nip5", - "fee_wallet_id": "${ownerWalletId}", - "currency": "USD", - "type": "fixed_price" -} - = - - - - ${host} - ${port} - ${scheme} - utf-8 - /auction_house/api/v1/auction_room - POST - true - false - true - false - - - - - - - - - Sec-Fetch-Mode - cors - - - Sec-Fetch-Site - same-origin - - - 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 - - - - name - nip5 sales - true - false - false - false - - - - sellRoomId - id - - - - - extra - { - "duration": { - "days": 7, - "hours": 0, - "minutes": 0 - }, - "lock_webhook": { - "method": "GET", - "url": "", - "headers": "", - "data": "" - }, - "unlock_webhook": { - "method": "GET", - "url": "", - "headers": "", - "data": "" - }, - "transfer_webhook": { - "method": "GET", - "url": "", - "headers": "", - "data": "" - } - } - true - false - false - false - - - - - true - - - - false - { - "id": "${sellRoomId}", - "name": "nip5 sells", - "description": "Sells for Nip5", - "currency": "sat", - "type": "fixed_price", - "room_percentage": 20, - "fee_wallet_id": "${ownerWalletId}", - "is_open_room": true, - "extra": { - "duration": { - "days": 7, - "hours": 0, - "minutes": 0 - }, - "lock_webhook": { - "method": "PUT", - "url": "http://localhost:5000/nostrnip5/api/v1/domain/${domainId}/address/lock", - "headers": "", - "data": "{\n \"transfer_code\": \"${transfer_code}\"\n}" - }, - "unlock_webhook": { - "method": "PUT", - "url": "http://localhost:5000/nostrnip5/api/v1/domain/${domainId}/address/unlock", - "headers": "", - "data": "{\n \"lock_code\": \"${lock_code}\"\n}" - }, - "transfer_webhook": { - "method": "PUT", - "url": "http://localhost:5000/nostrnip5/api/v1/domain/${domainId}/address/transfer", - "headers": "", - "data": "{\n \"lock_code\": \"${lock_code}\",\n \"new_owner_id\": \"${new_owner_id}\"\n}" - } - } -} - = - - - - ${host} - ${port} - ${scheme} - utf-8 - /auction_house/api/v1/auction_room - PUT - true - false - true - false - - - - - - - - - Sec-Fetch-Mode - cors - - - Sec-Fetch-Site - same-origin - - - 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 - - - - name - nip5 sells - true - false - false - false - - - - extra - { - "duration": { - "days": 365, - "hours": 0, - "minutes": 0 - }, - "lock_webhook": { - "method": "PUT", - "url": "http://localhost:5000/nostrnip5/api/v1/domain/${domainId}/address/lock", - "headers": "", - "data": "{\n \"transfer_code\": \"${transfer_code}\"\n}" - }, - "transfer_webhook": { - "method": "PUT", - "url": "http://localhost:5000/nostrnip5/api/v1/domain/${domainId}/address/transfer", - "headers": "", - "data": "{\n \"lock_code\": \"${lock_code}\",\n \"new_owner_id\": \"${new_owner_id}\"\n}" - }, - "unlock_webhook": { - "method": "PUT", - "url": "http://localhost:5000/nostrnip5/api/v1/domain/${domainId}/address/unlock", - "headers": "", - "data": "{\n \"lock_code\": \"${lock_code}\"\n}" - } -} - true - false - false - false - - - - - true - - - - false - { - "name": "nip5 auctions", - "description": "Auctions for Nip5", - "fee_wallet_id": "${ownerWalletId}", - "currency": "USD", - "type": "auction" -} - = - - - - ${host} - ${port} - ${scheme} - utf-8 - /auction_house/api/v1/auction_room - POST - true - false - true - false - - - - - - - - - Sec-Fetch-Mode - cors - - - Sec-Fetch-Site - same-origin - - - 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 - - - - name - nip5 auctions - true - false - false - false - - - - auctionRoomId - id - - - - - extra - { - "duration": { - "days": 7, - "hours": 0, - "minutes": 0 - }, - "lock_webhook": { - "method": "GET", - "url": "", - "headers": "", - "data": "" - }, - "unlock_webhook": { - "method": "GET", - "url": "", - "headers": "", - "data": "" - }, - "transfer_webhook": { - "method": "GET", - "url": "", - "headers": "", - "data": "" - } - } - true - false - false - false - - - - - true - - - - false - { - "id": "${auctionRoomId}", - "name": "nip5 auctions", - "description": "Auctions for Nip5", - "currency": "sat", - "type": "auction", - "min_bid_up_percentage": 5, - "room_percentage": 10, - "fee_wallet_id": "${ownerWalletId}", - "is_open_room": true, - "extra": { - "duration": { - "days": 7, - "hours": 0, - "minutes": 0 - }, - "lock_webhook": { - "method": "PUT", - "url": "http://localhost:5000/nostrnip5/api/v1/domain/${domainId}/address/lock", - "headers": "", - "data": "{\n \"transfer_code\": \"${transfer_code}\"\n}" - }, - "unlock_webhook": { - "method": "PUT", - "url": "http://localhost:5000/nostrnip5/api/v1/domain/${domainId}/address/unlock", - "headers": "", - "data": "{\n \"lock_code\": \"${lock_code}\"\n}" - }, - "transfer_webhook": { - "method": "PUT", - "url": "http://localhost:5000/nostrnip5/api/v1/domain/${domainId}/address/transfer", - "headers": "", - "data": "{\n \"lock_code\": \"${lock_code}\",\n \"new_owner_id\": \"${new_owner_id}\"\n}" - } - } -} - = - - - - ${host} - ${port} - ${scheme} - utf-8 - /auction_house/api/v1/auction_room - PUT - true - false - true - false - - - - - - - - - Sec-Fetch-Mode - cors - - - Sec-Fetch-Site - same-origin - - - 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 - - - - name - nip5 auctions - true - false - false - false - - - - extra - { - "duration": { - "days": 7, - "hours": 0, - "minutes": 0 - }, - "lock_webhook": { - "method": "PUT", - "url": "http://localhost:5000/nostrnip5/api/v1/domain/${domainId}/address/lock", - "headers": "", - "data": "{\n \"transfer_code\": \"${transfer_code}\"\n}" - }, - "unlock_webhook": { - "method": "PUT", - "url": "http://localhost:5000/nostrnip5/api/v1/domain/${domainId}/address/unlock", - "headers": "", - "data": "{\n \"lock_code\": \"${lock_code}\"\n}" - }, - "transfer_webhook": { - "method": "PUT", - "url": "http://localhost:5000/nostrnip5/api/v1/domain/${domainId}/address/transfer", - "headers": "", - "data": "{\n \"lock_code\": \"${lock_code}\",\n \"new_owner_id\": \"${new_owner_id}\"\n}" - } - } - true - false - false - false - - - - - - false - true - - - - true - - - - false - {"usr":"${sellerUserId}"} - = - - - - ${host} - ${port} - ${scheme} - UTF-8 - /api/v1/auth/usr - POST - true - false - true - false - - - - - - - - - Referer - ${scheme}://${host}:${port}/ - - - Accept-Language - en-US,en;q=0.5 - - - Origin - ${scheme}://${host}:${port} - - - Content-Type - application/json - - - Accept-Encoding - gzip, deflate - - - User-Agent - Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:123.0) Gecko/20100101 Firefox/123.0 - - - Accept - application/json, text/plain, */* - - - - - - - 200 - - - Assertion.response_code - false - 8 - - - - - - - - ${host} - ${port} - ${scheme} - utf-8 - /nostrnip5/api/v1/user/addresses?active=true - GET - true - false - true - false - - - - - - - - - Sec-Fetch-Mode - cors - - - Sec-Fetch-Site - same-origin - - - Origin - ${scheme}://${host}:${port} - - - Accept - application/json, text/plain, */* - - - 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 - - - - addresses_list - $ - - - - - - true - ${nipAddressCount} - - - - 0 - ${nipAddressCount} - 1 - addressIndex - - true - - - - userAddressId - [${addressIndex}].id - - variable - addresses_list - no_address_id - - - - userAddressName - [${addressIndex}].local_part - - variable - addresses_list - no_address_name - - - - false - true - false - - - - - - - ${host} - ${port} - ${scheme} - utf-8 - /nostrnip5/api/v1/domain/${domainId}/address/${userAddressId}/transfer - GET - true - false - true - false - - - - - - - - - Sec-Fetch-Mode - cors - - - Sec-Fetch-Site - same-origin - - - 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 - - - - transfer_code - - false - false - false - false - - - - transferCode - transfer_code - - no_transfer_code - - - - - true - - - - false - { - "name": "${userAddressName}", - "ask_price": 10.${addressIndex}, - "transfer_code": "${transferCode}" -} - = - - - - ${host} - ${port} - ${scheme} - utf-8 - /auction_house/api/v1/items/${auctionRoomId} - POST - true - false - true - false - - - - - - - - - Sec-Fetch-Mode - cors - - - Sec-Fetch-Site - same-origin - - - 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 - - - - ask_price - 10.${addressIndex} - true - false - false - false - - - - auctionItemId - id - - - - - - - - false - true - - - - true - ${bidCount} - - - - 1 - ${bidCount} - 1 - bidIndex - - true - - - - fragments/init-account.jmx - - - - bidderUserId_${bidIndex} - $ - - variable - userId - - - - bidderInkey_${bidIndex} - $ - - variable - inkey - - - - - - - ${host} - ${port} - ${scheme} - UTF-8 - /api/v1/auth/logout - POST - true - false - true - false - - - - - - - - - Referer - ${scheme}://${host}:${port}/ - - - Accept-Language - en-US,en;q=0.5 - - - Origin - ${scheme}://${host}:${port} - - - Content-Type - application/json - - - Accept-Encoding - gzip, deflate - - - User-Agent - Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:123.0) Gecko/20100101 Firefox/123.0 - - - Accept - application/json, text/plain, */* - - - - - - - 200 - - - Assertion.response_code - false - 8 - - - - - false - true - false - do not remove - - - - - - false - true - - - - true - ${bidCount} - - - - 1 - ${bidCount} - 1 - bidIndex - - true - - - - bidderUserIdOk - $ - - variable - bidderUserId_${bidIndex} - no_bidder_user_id - - - - false - true - false - do not remove - - - - true - - - - false - {"usr":"${bidderUserIdOk}"} - = - - - - ${host} - ${port} - ${scheme} - UTF-8 - /api/v1/auth/usr - POST - true - false - true - false - - - - - - - - - Referer - ${scheme}://${host}:${port}/ - - - Accept-Language - en-US,en;q=0.5 - - - Origin - ${scheme}://${host}:${port} - - - Content-Type - application/json - - - Accept-Encoding - gzip, deflate - - - User-Agent - Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:123.0) Gecko/20100101 Firefox/123.0 - - - Accept - application/json, text/plain, */* - - - - - - - 200 - - - Assertion.response_code - false - 8 - - - - - true - - - - false - {"amount": ${bidIndex}00,"ln_address":"","memo":"bid index: ${bidIndex}"} - = - - - - ${host} - ${port} - ${scheme} - utf-8 - /auction_house/api/v1/bids/${auctionItemId} - PUT - true - false - true - false - - - - - - - - - Sec-Fetch-Mode - cors - - - Sec-Fetch-Site - same-origin - - - 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 - - - - payment_request - - false - false - false - false - - - - paymentRequest - payment_request - - - - - paymentHash - payment_hash - - - - - - true - - - - false - {"out":true,"bolt11":"${paymentRequest}"} - = - - - - ${host} - ${port} - ${scheme} - utf-8 - /api/v1/payments - POST - true - false - true - false - - - - - - - - - Accept - application/json, text/plain, */* - - - X-Api-Key - ${adminWalletKey} - - - Content-Type - application/json - - - - - - - 201 - - - Assertion.response_code - false - 8 - - - - payment_hash - ${paymentHash} - true - false - false - false - - - - - false - true - false - do not remove - - - - - - - ${host} - ${port} - ${scheme} - UTF-8 - /api/v1/auth/logout - POST - true - false - true - false - - - - - - - - - Referer - ${scheme}://${host}:${port}/ - - - Accept-Language - en-US,en;q=0.5 - - - Origin - ${scheme}://${host}:${port} - - - Content-Type - application/json - - - Accept-Encoding - gzip, deflate - - - User-Agent - Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:123.0) Gecko/20100101 Firefox/123.0 - - - Accept - application/json, text/plain, */* - - - - - - - 200 - - - Assertion.response_code - false - 8 - - - - - - - false - true - - - - false - true - false - - - - 1000 - - - - - false - true - - - - true - - - - false - {"usr":"${ownerUserId}"} - = - - - - ${host} - ${port} - ${scheme} - UTF-8 - /api/v1/auth/usr - POST - true - false - true - false - - - - - - - - - Referer - ${scheme}://${host}:${port}/ - - - Accept-Language - en-US,en;q=0.5 - - - Origin - ${scheme}://${host}:${port} - - - Content-Type - application/json - - - Accept-Encoding - gzip, deflate - - - User-Agent - Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:123.0) Gecko/20100101 Firefox/123.0 - - - Accept - application/json, text/plain, */* - - - - - - - 200 - - - Assertion.response_code - false - 8 - - - - - - - - ${host} - ${port} - ${scheme} - utf-8 - /auction_house/api/v1/items/${auctionItemId} - GET - true - false - true - false - - - - - - - - - Sec-Fetch-Mode - cors - - - Sec-Fetch-Site - same-origin - - - 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 - - - - next_min_bid - 105.0 - true - false - false - false - - - - current_price - ${bidCount}00.0 - true - false - false - false - - - - user_is_owner - false - true - false - false - false - - - - user_is_participant - false - true - false - false - false - - - - user_is_top_bidder - false - true - false - false - false - - - - - - - - ${host} - ${port} - ${scheme} - UTF-8 - /api/v1/payments - GET - true - false - true - false - - - - - - - - - Referer - ${scheme}://${host}:${port}/wallet?wal=${walletId} - - - Accept-Language - en-US,en;q=0.5 - - - X-Api-Key - ${ownerInkey} - - - 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, */* - - - - - - payments - $[*] - -1 - bidderInkey_${bidIndex} - no_payments - - - - - 0 - - - Assertion.response_data - false - 8 - variable - payments_matchNr - - - - - - - - ${host} - ${port} - ${scheme} - UTF-8 - /api/v1/auth/logout - POST - true - false - true - false - - - - - - - - - Referer - ${scheme}://${host}:${port}/ - - - Accept-Language - en-US,en;q=0.5 - - - Origin - ${scheme}://${host}:${port} - - - Content-Type - application/json - - - Accept-Encoding - gzip, deflate - - - User-Agent - Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:123.0) Gecko/20100101 Firefox/123.0 - - - Accept - application/json, text/plain, */* - - - - - - - 200 - - - Assertion.response_code - false - 8 - - - - - true - ${bidCount} - - - - 1 - ${bidCount} - 1 - bidIndex - - true - - - - inkeyForBidderWallet - $ - - variable - bidderInkey_${bidIndex} - no_wallet_inkey - - - - ${__groovy(vars.get('bidCount').equals(vars.get('bidIndex')),)} - false - true - - - - false - true - 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 - ${inkeyForBidderWallet} - - - 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 - - - - balance - 0 - true - false - false - false - no refund - - - - - - - - ${host} - ${port} - ${scheme} - UTF-8 - /api/v1/payments - GET - true - false - true - false - - - - - - - - - Referer - ${scheme}://${host}:${port}/wallet?wal=${walletId} - - - Accept-Language - en-US,en;q=0.5 - - - X-Api-Key - ${inkeyForBidderWallet} - - - 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, */* - - - - - - payments - $[*] - -1 - bidderInkey_${bidIndex} - no_payments - - - - - 0 - - - Assertion.response_data - false - 8 - no refund - variable - payments_matchNr - - - - - winnerUserId - $ - - variable - bidderUserId_${bidIndex} - - - - - ${__groovy(!vars.get('bidCount').equals(vars.get('bidIndex')),)} - false - true - - - - false - true - 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 - ${inkeyForBidderWallet} - - - 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 - - - - balance - ${bidIndex}00000 - true - false - false - false - check in millisats - - - - - - - - ${host} - ${port} - ${scheme} - UTF-8 - /api/v1/payments - GET - true - false - true - false - - - - - - - - - Referer - ${scheme}://${host}:${port}/wallet?wal=${walletId} - - - Accept-Language - en-US,en;q=0.5 - - - X-Api-Key - ${inkeyForBidderWallet} - - - 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, */* - - - - - - payments - $[*] - -1 - bidderInkey_${bidIndex} - no_payments - - - - - 1 - - - Assertion.response_data - false - 8 - variable - payments_matchNr - - - - - refundedBidCount - $ - - variable - bidIndex - - - - - - - false - true - - - - true - - - - false - {"usr":"${ownerUserId}"} - = - - - - ${host} - ${port} - ${scheme} - UTF-8 - /api/v1/auth/usr - POST - true - false - true - false - - - - - - - - - Referer - ${scheme}://${host}:${port}/ - - - Accept-Language - en-US,en;q=0.5 - - - Origin - ${scheme}://${host}:${port} - - - Content-Type - application/json - - - Accept-Encoding - gzip, deflate - - - User-Agent - Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:123.0) Gecko/20100101 Firefox/123.0 - - - Accept - application/json, text/plain, */* - - - - - - - 200 - - - Assertion.response_code - false - 8 - - - - - - - - false - true - = - true - force_close - - - - ${host} - ${port} - ${scheme} - utf-8 - /auction_house/api/v1/items/${auctionItemId} - DELETE - true - false - true - false - - - - - - - - - Sec-Fetch-Mode - cors - - - Sec-Fetch-Site - same-origin - - - Origin - ${scheme}://${host}:${port} - - - Accept - application/json, text/plain, */* - - - 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 - - - - success - true - true - false - false - false - - - - message - Auction Closed - true - false - false - false - - - - - - - - ${host} - ${port} - ${scheme} - UTF-8 - /api/v1/payments - GET - true - false - true - false - - - - - - - - - Referer - ${scheme}://${host}:${port}/wallet?wal=${walletId} - - - Accept-Language - en-US,en;q=0.5 - - - X-Api-Key - ${ownerInkey} - - - 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, */* - - - - - - payments - $[*] - -1 - bidderInkey_${bidIndex} - no_payments - - - - - 1 - - - Assertion.response_data - false - 8 - variable - payments_matchNr - - - - - - - - ${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 - ${ownerInkey} - - - 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 - - - - balance - ${bidCount}0000 - true - false - false - false - check in millisats - - - - - - - - ${host} - ${port} - ${scheme} - UTF-8 - /api/v1/auth/logout - POST - true - false - true - false - - - - - - - - - Referer - ${scheme}://${host}:${port}/ - - - Accept-Language - en-US,en;q=0.5 - - - Origin - ${scheme}://${host}:${port} - - - Content-Type - application/json - - - Accept-Encoding - gzip, deflate - - - User-Agent - Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:123.0) Gecko/20100101 Firefox/123.0 - - - Accept - application/json, text/plain, */* - - - - - - - 200 - - - Assertion.response_code - false - 8 - - - - - - false - true - - - - true - - - - false - {"usr":"${sellerUserId}"} - = - - - - ${host} - ${port} - ${scheme} - UTF-8 - /api/v1/auth/usr - POST - true - false - true - false - - - - - - - - - Referer - ${scheme}://${host}:${port}/ - - - Accept-Language - en-US,en;q=0.5 - - - Origin - ${scheme}://${host}:${port} - - - Content-Type - application/json - - - Accept-Encoding - gzip, deflate - - - User-Agent - Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:123.0) Gecko/20100101 Firefox/123.0 - - - Accept - application/json, text/plain, */* - - - - - - - 200 - - - Assertion.response_code - false - 8 - - - - - - - - ${host} - ${port} - ${scheme} - UTF-8 - /api/v1/payments - GET - true - false - true - false - - - - - - - - - Referer - ${scheme}://${host}:${port}/wallet?wal=${walletId} - - - Accept-Language - en-US,en;q=0.5 - - - X-Api-Key - ${sellerInkey} - - - 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, */* - - - - - - payments - $[*] - -1 - bidderInkey_${bidIndex} - no_payments - - - - - 1 - - - Assertion.response_data - false - 8 - variable - payments_matchNr - - - - - - - - ${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 - ${sellerInkey} - - - 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 - - - - balance - ${bidCount}000 - true - false - false - false - check in millisats - - - - - - - - ${host} - ${port} - ${scheme} - utf-8 - /nostrnip5/api/v1/user/addresses?active=true - GET - true - false - true - false - - - - - - - - - Sec-Fetch-Mode - cors - - - Sec-Fetch-Site - same-origin - - - Origin - ${scheme}://${host}:${port} - - - Accept - application/json, text/plain, */* - - - 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 - - - - - - - - ${host} - ${port} - ${scheme} - UTF-8 - /api/v1/auth/logout - POST - true - false - true - false - - - - - - - - - Referer - ${scheme}://${host}:${port}/ - - - Accept-Language - en-US,en;q=0.5 - - - Origin - ${scheme}://${host}:${port} - - - Content-Type - application/json - - - Accept-Encoding - gzip, deflate - - - User-Agent - Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:123.0) Gecko/20100101 Firefox/123.0 - - - Accept - application/json, text/plain, */* - - - - - - - 200 - - - Assertion.response_code - false - 8 - - - - - - false - true - - - - true - - - - false - {"usr":"${winnerUserId}"} - = - - - - ${host} - ${port} - ${scheme} - UTF-8 - /api/v1/auth/usr - POST - true - false - true - false - - - - - - - - - Referer - ${scheme}://${host}:${port}/ - - - Accept-Language - en-US,en;q=0.5 - - - Origin - ${scheme}://${host}:${port} - - - Content-Type - application/json - - - Accept-Encoding - gzip, deflate - - - User-Agent - Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:123.0) Gecko/20100101 Firefox/123.0 - - - Accept - application/json, text/plain, */* - - - - - - - 200 - - - Assertion.response_code - false - 8 - - - - - - - - ${host} - ${port} - ${scheme} - utf-8 - /nostrnip5/api/v1/user/addresses?active=true - GET - true - false - true - false - - - - - - - - - Sec-Fetch-Mode - cors - - - Sec-Fetch-Site - same-origin - - - Origin - ${scheme}://${host}:${port} - - - Accept - application/json, text/plain, */* - - - 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 - - - - addressCount - $[*] - -1 - bidderInkey_${bidIndex} - no_addresses_for_winner - - - - - 1 - - - Assertion.response_data - false - 8 - variable - payments_matchNr - - - - $[0].local_part - ${userAddressName} - true - false - false - false - - - - - - - - ${host} - ${port} - ${scheme} - UTF-8 - /api/v1/auth/logout - POST - true - false - true - false - - - - - - - - - Referer - ${scheme}://${host}:${port}/ - - - Accept-Language - en-US,en;q=0.5 - - - Origin - ${scheme}://${host}:${port} - - - Content-Type - application/json - - - Accept-Encoding - gzip, deflate - - - User-Agent - Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:123.0) Gecko/20100101 Firefox/123.0 - - - Accept - application/json, text/plain, */* - - - - - - - 200 - - - Assertion.response_code - false - 8 - - - - - - false - true - - - - true - - - - false - {"usr":"${sellerUserId}"} - = - - - - ${host} - ${port} - ${scheme} - UTF-8 - /api/v1/auth/usr - POST - true - false - true - false - - - - - - - - - Referer - ${scheme}://${host}:${port}/ - - - Accept-Language - en-US,en;q=0.5 - - - Origin - ${scheme}://${host}:${port} - - - Content-Type - application/json - - - Accept-Encoding - gzip, deflate - - - User-Agent - Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:123.0) Gecko/20100101 Firefox/123.0 - - - Accept - application/json, text/plain, */* - - - - - - - 200 - - - Assertion.response_code - false - 8 - - - - - - - - false - true - = - true - active - - - - ${host} - ${port} - ${scheme} - utf-8 - /nostrnip5/api/v1/user/addresses - GET - true - false - true - false - - - - - - - - - Sec-Fetch-Mode - cors - - - Sec-Fetch-Site - same-origin - - - Origin - ${scheme}://${host}:${port} - - - Accept - application/json, text/plain, */* - - - 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 - - - - fixedPriceAddressId - $[0].id - - - - - fixedPriceAddress - $[0].local_part - - - - - - - - - false - ask_price - = - true - sortby - - - false - asc - = - true - direction - - - false - ${fixedPriceAddress} - = - true - name - - - - ${host} - ${port} - ${scheme} - utf-8 - /auction_house/api/v1/items/${auctionRoomId}/paginated? - GET - true - false - true - false - - - - - - - - - Sec-Fetch-Mode - cors - - - Sec-Fetch-Site - same-origin - - - 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 - - - - fixedPriceItemId - data[0].id - - - - - fixedPriceItemName - data[0].name - - - - - - - - - false - true - = - true - force_close - - - - ${host} - ${port} - ${scheme} - utf-8 - /auction_house/api/v1/items/${fixedPriceItemId} - DELETE - true - false - true - false - - - - - - - - - Sec-Fetch-Mode - cors - - - Sec-Fetch-Site - same-origin - - - Origin - ${scheme}://${host}:${port} - - - Accept - application/json, text/plain, */* - - - 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 - - - - success - true - true - false - false - false - - - - message - Auction Closed - true - false - false - false - - - - - - - - ${host} - ${port} - ${scheme} - utf-8 - /nostrnip5/api/v1/domain/${domainId}/address/${fixedPriceAddressId}/transfer - GET - true - false - true - false - - - - - - - - - Sec-Fetch-Mode - cors - - - Sec-Fetch-Site - same-origin - - - 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 - - - - transfer_code - - false - false - false - false - - - - transferCode - transfer_code - - no_transfer_code - - - - - true - - - - false - { - "name": "${fixedPriceItemName}", - "ask_price": 5000, - "transfer_code": "${transferCode}" -} - = - - - - ${host} - ${port} - ${scheme} - utf-8 - /auction_house/api/v1/items/${sellRoomId} - POST - true - false - true - false - - - - - - - - - Sec-Fetch-Mode - cors - - - Sec-Fetch-Site - same-origin - - - 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 - - - - ask_price - 5000.0 - true - false - false - false - - - - sellItemId - id - - - - - - fragments/init-account.jmx - - - - fixedPriceBuyerUserId - $ - - variable - userId - - - - true - - - - false - {"amount": 5000,"ln_address":"","memo":"fixed price buy"} - = - - - - ${host} - ${port} - ${scheme} - utf-8 - /auction_house/api/v1/bids/${sellItemId} - PUT - true - false - true - false - - - - - - - - - Sec-Fetch-Mode - cors - - - Sec-Fetch-Site - same-origin - - - 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 - - - - payment_request - - false - false - false - false - - - - paymentRequest - payment_request - - - - - paymentHash - payment_hash - - - - - - true - - - - false - {"out":true,"bolt11":"${paymentRequest}"} - = - - - - ${host} - ${port} - ${scheme} - utf-8 - /api/v1/payments - POST - true - false - true - false - - - - - - - - - Accept - application/json, text/plain, */* - - - X-Api-Key - ${adminWalletKey} - - - Content-Type - application/json - - - - - - - 201 - - - Assertion.response_code - false - 8 - - - - payment_hash - ${paymentHash} - true - false - false - false - - - - - - false - true - - - - false - true - false - - - - 1000 - - - - - false - true - - - - true - - - - false - {"usr":"${ownerUserId}"} - = - - - - ${host} - ${port} - ${scheme} - UTF-8 - /api/v1/auth/usr - POST - true - false - true - false - - - - - - - - - Referer - ${scheme}://${host}:${port}/ - - - Accept-Language - en-US,en;q=0.5 - - - Origin - ${scheme}://${host}:${port} - - - Content-Type - application/json - - - Accept-Encoding - gzip, deflate - - - User-Agent - Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:123.0) Gecko/20100101 Firefox/123.0 - - - Accept - application/json, text/plain, */* - - - - - - - 200 - - - Assertion.response_code - false - 8 - - - - - - - - ${host} - ${port} - ${scheme} - UTF-8 - /api/v1/payments - GET - true - false - true - false - - - - - - - - - Referer - ${scheme}://${host}:${port}/wallet?wal=${walletId} - - - Accept-Language - en-US,en;q=0.5 - - - X-Api-Key - ${ownerInkey} - - - 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, */* - - - - - - payments - $[*] - -1 - bidderInkey_${bidIndex} - no_payments - - - - - 2 - - - Assertion.response_data - false - 8 - variable - payments_matchNr - - - - - - - - ${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 - ${ownerInkey} - - - 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 - - - - balance - ${bidCount}0000 - true - false - false - false - check in millisats - - - - - - - - ${host} - ${port} - ${scheme} - UTF-8 - /api/v1/auth/logout - POST - true - false - true - false - - - - - - - - - Referer - ${scheme}://${host}:${port}/ - - - Accept-Language - en-US,en;q=0.5 - - - Origin - ${scheme}://${host}:${port} - - - Content-Type - application/json - - - Accept-Encoding - gzip, deflate - - - User-Agent - Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:123.0) Gecko/20100101 Firefox/123.0 - - - Accept - application/json, text/plain, */* - - - - - - - 200 - - - Assertion.response_code - false - 8 - - - - - - false - true - - - - true - - - - false - {"usr":"${sellerUserId}"} - = - - - - ${host} - ${port} - ${scheme} - UTF-8 - /api/v1/auth/usr - POST - true - false - true - false - - - - - - - - - Referer - ${scheme}://${host}:${port}/ - - - Accept-Language - en-US,en;q=0.5 - - - Origin - ${scheme}://${host}:${port} - - - Content-Type - application/json - - - Accept-Encoding - gzip, deflate - - - User-Agent - Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:123.0) Gecko/20100101 Firefox/123.0 - - - Accept - application/json, text/plain, */* - - - - - - - 200 - - - Assertion.response_code - false - 8 - - - - - - - - ${host} - ${port} - ${scheme} - UTF-8 - /api/v1/payments - GET - true - false - true - false - - - - - - - - - Referer - ${scheme}://${host}:${port}/wallet?wal=${walletId} - - - Accept-Language - en-US,en;q=0.5 - - - X-Api-Key - ${sellerInkey} - - - 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, */* - - - - - - payments - $[*] - -1 - bidderInkey_${bidIndex} - no_payments - - - - - 2 - - - Assertion.response_data - false - 8 - variable - payments_matchNr - - - - $[0].amount - 4000000 - 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 - ${sellerInkey} - - - 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 - - - - balance - ${bidCount}000 - true - false - false - false - check in millisats - - - - - - - - ${host} - ${port} - ${scheme} - utf-8 - /nostrnip5/api/v1/user/addresses?active=true - GET - true - false - true - false - - - - - - - - - Sec-Fetch-Mode - cors - - - Sec-Fetch-Site - same-origin - - - Origin - ${scheme}://${host}:${port} - - - Accept - application/json, text/plain, */* - - - 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 - - - - balance - ${bidCount}000 - true - false - false - false - check in millisats - - - - - - - - ${host} - ${port} - ${scheme} - UTF-8 - /api/v1/auth/logout - POST - true - false - true - false - - - - - - - - - Referer - ${scheme}://${host}:${port}/ - - - Accept-Language - en-US,en;q=0.5 - - - Origin - ${scheme}://${host}:${port} - - - Content-Type - application/json - - - Accept-Encoding - gzip, deflate - - - User-Agent - Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:123.0) Gecko/20100101 Firefox/123.0 - - - Accept - application/json, text/plain, */* - - - - - - - 200 - - - Assertion.response_code - false - 8 - - - - - - false - true - - - - true - - - - false - {"usr":"${fixedPriceBuyerUserId}"} - = - - - - ${host} - ${port} - ${scheme} - UTF-8 - /api/v1/auth/usr - POST - true - false - true - false - - - - - - - - - Referer - ${scheme}://${host}:${port}/ - - - Accept-Language - en-US,en;q=0.5 - - - Origin - ${scheme}://${host}:${port} - - - Content-Type - application/json - - - Accept-Encoding - gzip, deflate - - - User-Agent - Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:123.0) Gecko/20100101 Firefox/123.0 - - - Accept - application/json, text/plain, */* - - - - - - - 200 - - - Assertion.response_code - false - 8 - - - - - - - - ${host} - ${port} - ${scheme} - utf-8 - /nostrnip5/api/v1/user/addresses?active=true - GET - true - false - true - false - - - - - - - - - Sec-Fetch-Mode - cors - - - Sec-Fetch-Site - same-origin - - - Origin - ${scheme}://${host}:${port} - - - Accept - application/json, text/plain, */* - - - 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 - - - - addressCount - $[*] - -1 - bidderInkey_${bidIndex} - no_addresses_for_winner - - - - - 1 - - - Assertion.response_data - false - 8 - variable - addressCount_matchNr - - - - $[0].local_part - ${fixedPriceItemName} - true - false - false - false - - - - - - - - ${host} - ${port} - ${scheme} - UTF-8 - /api/v1/auth/logout - POST - true - false - true - false - - - - - - - - - Referer - ${scheme}://${host}:${port}/ - - - Accept-Language - en-US,en;q=0.5 - - - Origin - ${scheme}://${host}:${port} - - - Content-Type - application/json - - - Accept-Encoding - gzip, deflate - - - User-Agent - Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:123.0) Gecko/20100101 Firefox/123.0 - - - Accept - application/json, text/plain, */* - - - - - - - 200 - - - Assertion.response_code - false - 8 - - - - false true From ffb3ea23bdf52d594fea0bcce18922cb77f125e4 Mon Sep 17 00:00:00 2001 From: Vlad Stan Date: Thu, 20 Nov 2025 16:31:50 +0200 Subject: [PATCH 04/19] refactor: rename --- integration/{load_001_users.jmx => load_001_create_users.jmx} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename integration/{load_001_users.jmx => load_001_create_users.jmx} (100%) diff --git a/integration/load_001_users.jmx b/integration/load_001_create_users.jmx similarity index 100% rename from integration/load_001_users.jmx rename to integration/load_001_create_users.jmx From f16c69edff8886adcbacde2510df88b7bc153b48 Mon Sep 17 00:00:00 2001 From: Vlad Stan Date: Fri, 21 Nov 2025 10:42:31 +0200 Subject: [PATCH 05/19] test: register user --- integration/load_001_create_payments.jmx | 856 +++++++++++++++++++++++ 1 file changed, 856 insertions(+) create mode 100644 integration/load_001_create_payments.jmx diff --git a/integration/load_001_create_payments.jmx b/integration/load_001_create_payments.jmx new file mode 100644 index 00000000..22f44413 --- /dev/null +++ b/integration/load_001_create_payments.jmx @@ -0,0 +1,856 @@ + + + + + false + false + + + + + + + + + + + host + ${__property(host,,127.0.0.1)} + = + + + scheme + ${__property(scheme,,http)} + = + + + port + ${__property(port,,5000)} + = + + + thinkTime + 3000 + = + + + defaultPaymentCount + 3 + = + + + configPath + ${__BeanShell(import org.apache.jmeter.services.FileServer; FileServer.getFileServer().getBaseDir();)} + = + + + paymentCount + 2 + = + + + + + + + + + ${host} + ${port} + ${scheme} + + + 6 + Java + 20000 + 30000 + + + + + + + + continue + + false + 1 + + 1 + 1 + false + + + true + + + + + false + false + + + + false + true + + + + fragments/init-server.jmx + + + + + + continue + + false + 1 + + 1 + 1 + 1370726934000 + 1370726934000 + false + + + false + + + + + false + false + + + + false + true + + + + true + + + + false + {"username":"admin","password":"secret1234"} + = + + + + ${host} + ${port} + ${scheme} + UTF-8 + /api/v1/auth + POST + true + false + true + false + + + + + + + + + Referer + ${scheme}://${host}:${port}/ + + + Accept-Language + en-US,en;q=0.5 + + + Origin + ${scheme}://${host}:${port} + + + Content-Type + application/json + + + Accept-Encoding + gzip, deflate + + + User-Agent + Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:123.0) Gecko/20100101 Firefox/123.0 + + + Accept + application/json, text/plain, */* + + + + + + + 200 + + + Assertion.response_code + false + 8 + + + + + groovy + + + true + ${__Random(0,1000000000, randomUserNamespace)} + To avoid collision between tests + + + + + true + + + + false + { + "extra": { + "first_name": "First Name${randomUserNamespace}", + "last_name": "Last Name${randomUserNamespace}" + }, + "username": "u_${randomUserNamespace}" +} + = + + + + ${host} + ${port} + ${scheme} + utf-8 + /users/api/v1/user + POST + true + false + true + false + + + + + + + + + content-type + application/json + + + + + + + 200 + + + Assertion.response_code + false + 8 + + + + username + u_${randomUserNamespace} + true + false + false + true + + + + userWalletId + + + no-user-wallet-id + + + + + true + + + + false + { + "extra": { + "first_name": "First Name${randomUserNamespace}", + "last_name": "Last Name${randomUserNamespace}" + }, + "username": "u_${randomUserNamespace}" +} + = + + + + ${host} + ${port} + ${scheme} + utf-8 + /users/api/v1/user + GET + true + false + true + false + + + + + + + + + content-type + application/json + + + + + + + 200 + + + Assertion.response_code + false + 8 + + + + username + u_${randomUserNamespace} + true + false + false + true + + + + userWalletId + + + no-user-wallet-id + + + + + true + + + + false + { + "username": "user_${randomUserNamespace}", + "password": "secret1234", + "password_repeat": "secret1234", + "email": "u_${randomUserNamespace}@lnbits.com" +} + = + + + + ${host} + ${port} + ${scheme} + utf-8 + /api/v1/auth/register + POST + true + false + true + false + + + + + + + + + content-type + application/json + + + + + + + 200 + + + Assertion.response_code + false + 8 + + + + username + user_${randomUserNamespace} + true + false + false + true + + + + userWalletId + + + no-user-wallet-id + + + + + + + + ${host} + ${port} + ${scheme} + utf-8 + /api/v1/auth + GET + true + false + true + false + + + + + + + + + content-type + application/json + + + + + + + 200 + + + Assertion.response_code + false + 8 + + + + username + user_${randomUserNamespace} + true + false + false + true + + + + userWalletId + wallets[0].id + + no-user-wallet-id + + + + + true + ${paymentCount} + + + + 1 + ${paymentCount} + 1 + paymentIndex + + true + + + + true + + + + false + {"amount":"1000000","id":"${userWalletId}"} + = + + + + ${host} + ${port} + ${scheme} + UTF-8 + /users/api/v1/balance + PUT + true + false + true + false + + + + + + + + + Referer + ${scheme}://${host}:${port}/wallet?&wal=c1daa33fc4014ef69cd1505f14f322c2 + + + Accept-Language + en-US,en;q=0.5 + + + Origin + ${scheme}://${host}:${port} + + + Content-Type + application/json + + + Accept-Encoding + gzip, deflate + + + User-Agent + Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:121.0) Gecko/20100101 Firefox/121.0 + + + Accept + application/json, text/plain, */* + + + + + + + 200 + + + Assertion.response_code + false + 8 + + + + + + false + true + false + + + + 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 + + + + + From 8039272f83f92d7220a72fd11ccdd8e00e30983f Mon Sep 17 00:00:00 2001 From: Vlad Stan Date: Fri, 21 Nov 2025 19:35:31 +0200 Subject: [PATCH 06/19] test: more stuff --- integration/load_001_create_payments.jmx | 1221 +++++++++++++++------- 1 file changed, 842 insertions(+), 379 deletions(-) diff --git a/integration/load_001_create_payments.jmx b/integration/load_001_create_payments.jmx index 22f44413..3cb02ebb 100644 --- a/integration/load_001_create_payments.jmx +++ b/integration/load_001_create_payments.jmx @@ -45,7 +45,12 @@ paymentCount - 2 + 500 + = + + + userAdminKey + 95897f8b4e46417cb724e5cb33d88bff = @@ -70,7 +75,7 @@ - + continue false @@ -100,41 +105,32 @@ - - - continue - - false - 1 - - 1 - 1 - 1370726934000 - 1370726934000 - false - - - false - - - - - false - false - - - + false true - + + groovy + + + true + ${__Random(0,1000000000, randomUserNamespace)} + To avoid collision between tests + + + true false - {"username":"admin","password":"secret1234"} + { + "username": "user_${randomUserNamespace}", + "password": "secret1234", + "password_repeat": "secret1234", + "email": "u_${randomUserNamespace}@lnbits.com" +} = @@ -142,8 +138,8 @@ ${host} ${port} ${scheme} - UTF-8 - /api/v1/auth + utf-8 + /api/v1/auth/register POST true false @@ -156,34 +152,10 @@ - - Referer - ${scheme}://${host}:${port}/ - - - Accept-Language - en-US,en;q=0.5 - - - Origin - ${scheme}://${host}:${port} - - - Content-Type + + content-type application/json - - Accept-Encoding - gzip, deflate - - - User-Agent - Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:123.0) Gecko/20100101 Firefox/123.0 - - - Accept - application/json, text/plain, */* - @@ -197,306 +169,33 @@ 8 + + username + user_${randomUserNamespace} + true + false + false + true + + + + userWalletId + + + no-user-wallet-id + + - - groovy - - - true - ${__Random(0,1000000000, randomUserNamespace)} - To avoid collision between tests - - - - - true - - - - false - { - "extra": { - "first_name": "First Name${randomUserNamespace}", - "last_name": "Last Name${randomUserNamespace}" - }, - "username": "u_${randomUserNamespace}" -} - = - - - - ${host} - ${port} - ${scheme} - utf-8 - /users/api/v1/user - POST - true - false - true - false - - - - - - - - - content-type - application/json - - - - - - - 200 - - - Assertion.response_code - false - 8 - - - - username - u_${randomUserNamespace} - true - false - false - true - - - - userWalletId - - - no-user-wallet-id - - - - - true - - - - false - { - "extra": { - "first_name": "First Name${randomUserNamespace}", - "last_name": "Last Name${randomUserNamespace}" - }, - "username": "u_${randomUserNamespace}" -} - = - - - - ${host} - ${port} - ${scheme} - utf-8 - /users/api/v1/user - GET - true - false - true - false - - - - - - - - - content-type - application/json - - - - - - - 200 - - - Assertion.response_code - false - 8 - - - - username - u_${randomUserNamespace} - true - false - false - true - - - - userWalletId - - - no-user-wallet-id - - - - - true - - - - false - { - "username": "user_${randomUserNamespace}", - "password": "secret1234", - "password_repeat": "secret1234", - "email": "u_${randomUserNamespace}@lnbits.com" -} - = - - - - ${host} - ${port} - ${scheme} - utf-8 - /api/v1/auth/register - POST - true - false - true - false - - - - - - - - - content-type - application/json - - - - - - - 200 - - - Assertion.response_code - false - 8 - - - - username - user_${randomUserNamespace} - true - false - false - true - - - - userWalletId - - - no-user-wallet-id - - - - - - - - ${host} - ${port} - ${scheme} - utf-8 - /api/v1/auth - GET - true - false - true - false - - - - - - - - - content-type - application/json - - - - - - - 200 - - - Assertion.response_code - false - 8 - - - - username - user_${randomUserNamespace} - true - false - false - true - - - - userWalletId - wallets[0].id - - no-user-wallet-id - - - - - true - ${paymentCount} - - - - 1 - ${paymentCount} - 1 - paymentIndex - - true - - - - true - - - - false - {"amount":"1000000","id":"${userWalletId}"} - = - - + + + ${host} ${port} ${scheme} - UTF-8 - /users/api/v1/balance - PUT + utf-8 + /api/v1/auth + GET true false true @@ -508,34 +207,10 @@ - - Referer - ${scheme}://${host}:${port}/wallet?&wal=c1daa33fc4014ef69cd1505f14f322c2 - - - Accept-Language - en-US,en;q=0.5 - - - Origin - ${scheme}://${host}:${port} - - - Content-Type + + content-type application/json - - Accept-Encoding - gzip, deflate - - - User-Agent - Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:121.0) Gecko/20100101 Firefox/121.0 - - - Accept - application/json, text/plain, */* - @@ -549,6 +224,376 @@ 8 + + username + user_${randomUserNamespace} + true + false + false + true + + + + userWalletId + wallets[0].id + + no-user-wallet-id + + + + + javascript + + + true + var userWalletId = vars.get("userWalletId") + +props.put("userWalletId", userWalletId) + + + + + javascript + + + true + var adminWalletKey = vars.get("adminWalletKey") + +props.put("adminWalletKey", adminWalletKey) + + + + false + true + false + + + + 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 + + + + + + + + continue + + false + 1 + + 20 + 20 + 1370726934000 + 1370726934000 + false + + + false + + + + + false + false + + + + false + true + + + + groovy + + + true + ${__Random(0,1000000000, randomUserNamespace)} + To avoid collision between tests + + + + fragments/init-server.jmx + + + + + true + ${paymentCount} + + + + 1 + ${paymentCount} + 1 + paymentIndex + + true + + + + false + true + + + + 1000 + 10 + + true + + amount + + + + true + + + + false + { + "out": false, + "amount": ${amount}, + "memo": "${randomUserNamespace}", + "unit": "sat", + "lnurl_withdraw": null, + "fiat_provider": "", + "payment_hash": null +} + = + + + + ${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, */* + + + 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 + + + x-api-key + ${userAdminKey} + + + + + + + 201 + + + Assertion.response_code + false + 8 + + + + bolt11 + + false + false + false + true + + + + payment_hash + + false + false + false + true + + + + paymentRequest + bolt11 + 0 + no-payment-request + + + + paymentHash + payment_hash + 0 + no-payment-hash + + + + + true + + + + false + { + "out": true, + "amount": ${amount}, + "memo": "paying ${randomUserNamespace}", + "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 + + + + payment_hash + ${paymentHash} + true + false + false + false + + + @@ -704,8 +749,6 @@ 100 - true - (wallet){1} @@ -782,7 +825,427 @@ + + false + true + + + + 1000 + 10 + + true + + amount + + + + true + + + + false + { + "amount": ${amount}, + "memo": "${memo}" +} + = + + + + ${host} + ${port} + ${scheme} + UTF-8 + /tpos/api/v1/tposs/${tposId}/invoices + 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/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 + + + + bolt11 + + false + false + false + true + + + + payment_hash + + false + false + false + true + + + + paymentRequest + bolt11 + 0 + no-payment-request + + + + paymentHash + payment_hash + 0 + no-payment-hash + + + + + true + 1 + + + + + + + ${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 + + + + payment_hash + ${paymentHash} + true + false + false + false + + + + + + + + ${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 + + 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 From ae77d1761fdd7118cbdfe269af988475b3ddf20e Mon Sep 17 00:00:00 2001 From: Vlad Stan Date: Mon, 24 Nov 2025 11:02:59 +0200 Subject: [PATCH 07/19] chore: clean-up --- integration/load_001_create_payments.jmx | 400 +---------------------- 1 file changed, 11 insertions(+), 389 deletions(-) diff --git a/integration/load_001_create_payments.jmx b/integration/load_001_create_payments.jmx index 3cb02ebb..9a87ed4f 100644 --- a/integration/load_001_create_payments.jmx +++ b/integration/load_001_create_payments.jmx @@ -50,7 +50,7 @@ userAdminKey - 95897f8b4e46417cb724e5cb33d88bff + 070e45be347f47d5becb6b1a1f937709 = @@ -312,8 +312,8 @@ props.put("adminWalletKey", adminWalletKey) false 1 - 20 - 20 + 50 + 50 1370726934000 1370726934000 false @@ -361,7 +361,7 @@ props.put("adminWalletKey", adminWalletKey) true - + false true @@ -497,6 +497,12 @@ props.put("adminWalletKey", adminWalletKey) + + + false + true + + true @@ -525,7 +531,7 @@ props.put("adminWalletKey", adminWalletKey) true false - + 60000 @@ -748,7 +754,6 @@ props.put("adminWalletKey", adminWalletKey) - 100 @@ -825,389 +830,6 @@ props.put("adminWalletKey", adminWalletKey) - - false - true - - - - 1000 - 10 - - true - - amount - - - - true - - - - false - { - "amount": ${amount}, - "memo": "${memo}" -} - = - - - - ${host} - ${port} - ${scheme} - UTF-8 - /tpos/api/v1/tposs/${tposId}/invoices - 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/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 - - - - bolt11 - - false - false - false - true - - - - payment_hash - - false - false - false - true - - - - paymentRequest - bolt11 - 0 - no-payment-request - - - - paymentHash - payment_hash - 0 - no-payment-hash - - - - - true - 1 - - - - - - - ${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 - - - - payment_hash - ${paymentHash} - true - false - false - false - - - - - - - - ${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 From 1ed22ecc3349af3a7fcc35a4c4ae941dc65c75bc Mon Sep 17 00:00:00 2001 From: Vlad Stan Date: Mon, 24 Nov 2025 16:01:13 +0200 Subject: [PATCH 08/19] test: simple top-up --- integration/load_001_create_payments.jmx | 171 ++++++++++++++++++++++- 1 file changed, 165 insertions(+), 6 deletions(-) diff --git a/integration/load_001_create_payments.jmx b/integration/load_001_create_payments.jmx index 9a87ed4f..4cd3f49c 100644 --- a/integration/load_001_create_payments.jmx +++ b/integration/load_001_create_payments.jmx @@ -45,7 +45,7 @@ paymentCount - 500 + 1000 = @@ -312,8 +312,8 @@ props.put("adminWalletKey", adminWalletKey) false 1 - 50 - 50 + 100 + 100 1370726934000 1370726934000 false @@ -328,7 +328,7 @@ props.put("adminWalletKey", adminWalletKey) false - + false true @@ -347,6 +347,76 @@ props.put("adminWalletKey", adminWalletKey) + + true + + + + false + {"username":"admin","password":"secret1234"} + = + + + + ${host} + ${port} + ${scheme} + UTF-8 + /api/v1/auth + POST + true + false + true + false + + + + + + + + + Referer + ${scheme}://${host}:${port}/ + + + Accept-Language + en-US,en;q=0.5 + + + Origin + ${scheme}://${host}:${port} + + + Content-Type + application/json + + + Accept-Encoding + gzip, deflate + + + User-Agent + Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:123.0) Gecko/20100101 Firefox/123.0 + + + Accept + application/json, text/plain, */* + + + + + + + 200 + + + Assertion.response_code + false + 8 + + + true ${paymentCount} @@ -361,7 +431,7 @@ props.put("adminWalletKey", adminWalletKey) true - + false true @@ -498,7 +568,7 @@ props.put("adminWalletKey", adminWalletKey) - + false true @@ -601,6 +671,95 @@ props.put("adminWalletKey", adminWalletKey) + + false + true + + + + true + + + + false + {"amount":"1000","id":"eb0825f0409b48cb994d2e3bb67502c5"} + = + + + + ${host} + ${port} + ${scheme} + utf-8 + /users/api/v1/balance + PUT + true + false + true + false + + HttpClient4 + 60000 + + + + + + + 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 + + + + + + + 200 + + + Assertion.response_code + false + 8 + + + + false From 57e43d30bf5d246b0ac5f7aabe607e9a2d7a9bb5 Mon Sep 17 00:00:00 2001 From: Vlad Stan Date: Mon, 24 Nov 2025 16:21:21 +0200 Subject: [PATCH 09/19] tests: rename --- ...ments.jmx => load_002_create_payments.jmx} | 0 integration/load_003_search_payments.jmx | 1115 +++++++++++++++++ 2 files changed, 1115 insertions(+) rename integration/{load_001_create_payments.jmx => load_002_create_payments.jmx} (100%) create mode 100644 integration/load_003_search_payments.jmx diff --git a/integration/load_001_create_payments.jmx b/integration/load_002_create_payments.jmx similarity index 100% rename from integration/load_001_create_payments.jmx rename to integration/load_002_create_payments.jmx diff --git a/integration/load_003_search_payments.jmx b/integration/load_003_search_payments.jmx new file mode 100644 index 00000000..f5dd09c7 --- /dev/null +++ b/integration/load_003_search_payments.jmx @@ -0,0 +1,1115 @@ + + + + + false + false + + + + + + + + + + + host + ${__property(host,,127.0.0.1)} + = + + + scheme + ${__property(scheme,,http)} + = + + + port + ${__property(port,,5000)} + = + + + thinkTime + 3000 + = + + + defaultPaymentCount + 3 + = + + + configPath + ${__BeanShell(import org.apache.jmeter.services.FileServer; FileServer.getFileServer().getBaseDir();)} + = + + + paymentCount + 200 + = + + + userAdminKey + 070e45be347f47d5becb6b1a1f937709 + = + + + + + + + + + ${host} + ${port} + ${scheme} + + + 6 + Java + 20000 + 30000 + + + + + + + + continue + + false + 1 + + 1 + 1 + false + + + true + + + + + false + false + + + + false + true + + + + fragments/init-server.jmx + + + + + false + true + + + + groovy + + + true + ${__Random(0,1000000000, randomUserNamespace)} + To avoid collision between tests + + + + true + + + + false + { + "username": "user_${randomUserNamespace}", + "password": "secret1234", + "password_repeat": "secret1234", + "email": "u_${randomUserNamespace}@lnbits.com" +} + = + + + + ${host} + ${port} + ${scheme} + utf-8 + /api/v1/auth/register + POST + true + false + true + false + + + + + + + + + content-type + application/json + + + + + + + 200 + + + Assertion.response_code + false + 8 + + + + username + user_${randomUserNamespace} + true + false + false + true + + + + userWalletId + + + no-user-wallet-id + + + + + + + + ${host} + ${port} + ${scheme} + utf-8 + /api/v1/auth + GET + true + false + true + false + + + + + + + + + content-type + application/json + + + + + + + 200 + + + Assertion.response_code + false + 8 + + + + username + user_${randomUserNamespace} + true + false + false + true + + + + userWalletId + wallets[0].id + + no-user-wallet-id + + + + + javascript + + + true + var userWalletId = vars.get("userWalletId") + +props.put("userWalletId", userWalletId) + + + + + javascript + + + true + var adminWalletKey = vars.get("adminWalletKey") + +props.put("adminWalletKey", adminWalletKey) + + + + false + true + false + + + + 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 + + + + + + + + continue + + false + 1 + + 100 + 10 + 1370726934000 + 1370726934000 + false + + + false + + + + + false + false + + + + false + true + + + + groovy + + + true + ${__Random(0,1000000000, randomUserNamespace)} + To avoid collision between tests + + + + fragments/init-server.jmx + + + + + true + + + + false + {"username":"admin","password":"secret1234"} + = + + + + ${host} + ${port} + ${scheme} + UTF-8 + /api/v1/auth + POST + true + false + true + false + + + + + + + + + Referer + ${scheme}://${host}:${port}/ + + + Accept-Language + en-US,en;q=0.5 + + + Origin + ${scheme}://${host}:${port} + + + Content-Type + application/json + + + Accept-Encoding + gzip, deflate + + + User-Agent + Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:123.0) Gecko/20100101 Firefox/123.0 + + + Accept + application/json, text/plain, */* + + + + + + + 200 + + + Assertion.response_code + false + 8 + + + + + true + ${paymentCount} + + + + 1 + ${paymentCount} + 1 + paymentIndex + + true + + + + false + true + + + + 1000 + 10 + + true + + amount + + + + true + + + + false + { + "out": false, + "amount": ${amount}, + "memo": "${randomUserNamespace}", + "unit": "sat", + "lnurl_withdraw": null, + "fiat_provider": "", + "payment_hash": null +} + = + + + + ${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, */* + + + 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 + + + x-api-key + ${userAdminKey} + + + + + + + 201 + + + Assertion.response_code + false + 8 + + + + bolt11 + + false + false + false + true + + + + payment_hash + + false + false + false + true + + + + paymentRequest + bolt11 + 0 + no-payment-request + + + + paymentHash + payment_hash + 0 + no-payment-hash + + + + + + false + true + + + + true + + + + false + { + "out": true, + "amount": ${amount}, + "memo": "paying ${randomUserNamespace}", + "unit": "sat", + "bolt11": "${paymentRequest}" +} + = + + + + ${host} + ${port} + ${scheme} + utf-8 + /api/v1/payments + POST + true + false + true + false + + 60000 + + + + + + + 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 + + + + payment_hash + ${paymentHash} + true + false + false + false + + + + + + false + true + + + + + + + false + 500 + = + true + offset + + + false + time + = + true + sortby + + + false + desc + = + true + direction + + + + ${host} + ${port} + ${scheme} + utf-8 + /api/v1/payments/paginated + GET + true + false + true + false + + HttpClient4 + 60000 + + + + + + + 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 + 27f2c9df619c4812bfc00e65c6f3f565 + + + 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 + + + + + + + 200 + + + Assertion.response_code + false + 8 + + + + + + + false + true + false + + + + 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 + + + + + + + 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 + + + + + + + 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 + + + + + From 47d24b50341cb732a47c0e1b6c36cee23c97988c Mon Sep 17 00:00:00 2001 From: Vlad Stan Date: Wed, 26 Nov 2025 13:32:20 +0200 Subject: [PATCH 10/19] test: more --- integration/load_003_search_payments.jmx | 38 ++++++++++++++++++++---- 1 file changed, 33 insertions(+), 5 deletions(-) diff --git a/integration/load_003_search_payments.jmx b/integration/load_003_search_payments.jmx index f5dd09c7..bca18c43 100644 --- a/integration/load_003_search_payments.jmx +++ b/integration/load_003_search_payments.jmx @@ -45,7 +45,7 @@ paymentCount - 200 + 20 = @@ -53,6 +53,11 @@ 070e45be347f47d5becb6b1a1f937709 = + + adminWalletKey + aba01f535a7241889ebe79035bd13fa9 + = + @@ -328,6 +333,12 @@ props.put("adminWalletKey", adminWalletKey) false + + false + true + false + + false true @@ -431,11 +442,15 @@ props.put("adminWalletKey", adminWalletKey) true - + false true + + 300 + + 1000 10 @@ -568,7 +583,7 @@ props.put("adminWalletKey", adminWalletKey) - + false true @@ -670,12 +685,20 @@ props.put("adminWalletKey", adminWalletKey) + + 200 + + - + false true + + 1000 + + @@ -776,7 +799,7 @@ props.put("adminWalletKey", adminWalletKey) - + false true false @@ -928,6 +951,9 @@ props.put("adminWalletKey", adminWalletKey) + 1000 + Response Time Graph + 0 @@ -1004,6 +1030,8 @@ props.put("adminWalletKey", adminWalletKey) + + false From 560a9a0d18d08acd04ca8cae521200d16f509e3c Mon Sep 17 00:00:00 2001 From: Vlad Stan Date: Wed, 26 Nov 2025 15:37:10 +0200 Subject: [PATCH 11/19] test: decent scenario --- integration/load_004_scenario_01.jmx | 1661 ++++++++++++++++++++++++++ 1 file changed, 1661 insertions(+) create mode 100644 integration/load_004_scenario_01.jmx diff --git a/integration/load_004_scenario_01.jmx b/integration/load_004_scenario_01.jmx new file mode 100644 index 00000000..a46610ae --- /dev/null +++ b/integration/load_004_scenario_01.jmx @@ -0,0 +1,1661 @@ + + + + + false + false + + + + + + + + + + + host + ${__property(host,,127.0.0.1)} + = + + + scheme + ${__property(scheme,,http)} + = + + + port + ${__property(port,,5000)} + = + + + thinkTime + 3000 + = + + + defaultPaymentCount + 3 + = + + + configPath + ${__BeanShell(import org.apache.jmeter.services.FileServer; FileServer.getFileServer().getBaseDir();)} + = + + + paymentCount + 100 + = + + + userAdminKey + 070e45be347f47d5becb6b1a1f937709 + = + + + adminWalletKey + aba01f535a7241889ebe79035bd13fa9 + = + + + + + + + + + ${host} + ${port} + ${scheme} + + + 6 + Java + 20000 + 30000 + + + + + + + + continue + + false + 1 + + 1 + 1 + false + + + true + + + + + false + false + + + + false + true + + + + fragments/init-server.jmx + + + + + false + true + + + + groovy + + + true + ${__Random(0,1000000000, randomUserNamespace)} + To avoid collision between tests + + + + true + + + + false + { + "username": "user_${randomUserNamespace}", + "password": "secret1234", + "password_repeat": "secret1234", + "email": "u_${randomUserNamespace}@lnbits.com" +} + = + + + + ${host} + ${port} + ${scheme} + utf-8 + /api/v1/auth/register + POST + true + false + true + false + + + + + + + + + content-type + application/json + + + + + + + 200 + + + Assertion.response_code + false + 8 + + + + username + user_${randomUserNamespace} + true + false + false + true + + + + userWalletId + + + no-user-wallet-id + + + + + + + + ${host} + ${port} + ${scheme} + utf-8 + /api/v1/auth + GET + true + false + true + false + + + + + + + + + content-type + application/json + + + + + + + 200 + + + Assertion.response_code + false + 8 + + + + username + user_${randomUserNamespace} + true + false + false + true + + + + userWalletId + wallets[0].id + + no-user-wallet-id + + + + + javascript + + + true + var userWalletId = vars.get("userWalletId") + +props.put("userWalletId", userWalletId) + + + + + javascript + + + true + var adminWalletKey = vars.get("adminWalletKey") + +props.put("adminWalletKey", adminWalletKey) + + + + false + true + false + + + + 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 + + + + + + + + continue + + false + 1 + + 100 + 100 + 1370726934000 + 1370726934000 + false + + + false + + + + + false + false + + + + false + true + + + + groovy + + + true + ${__Random(0,1000000000, randomUserNamespace)} + To avoid collision between tests + + + + true + + + + false + {"username":"load_user_${__threadNum}","password":"secret1234"} + = + + + + ${host} + ${port} + ${scheme} + UTF-8 + /api/v1/auth + POST + true + false + true + false + + + + + + + + + Referer + ${scheme}://${host}:${port}/ + + + Accept-Language + en-US,en;q=0.5 + + + Origin + ${scheme}://${host}:${port} + + + Content-Type + application/json + + + Accept-Encoding + gzip, deflate + + + User-Agent + Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:123.0) Gecko/20100101 Firefox/123.0 + + + Accept + application/json, text/plain, */* + + + + + + + 200 + + + Assertion.response_code + false + 8 + + + + + + + + + ${host} + ${port} + ${scheme} + UTF-8 + /api/v1/auth + GET + true + false + true + false + + + + + + + + + Referer + ${scheme}://${host}:${port}/ + + + Accept-Language + en-US,en;q=0.5 + + + Origin + ${scheme}://${host}:${port} + + + Content-Type + application/json + + + Accept-Encoding + gzip, deflate + + + User-Agent + Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:123.0) Gecko/20100101 Firefox/123.0 + + + Accept + application/json, text/plain, */* + + + + + + + 200 + + + Assertion.response_code + false + 8 + + + + userWalletAdminkey + wallets[0].adminkey + + no-user-wallet-adminkey + + + + userWalletId + wallets[0].id + + no-user-wallet-id + + + + + true + + + + false + {"name":"Wallet for ${${__threadNum}}","wallet_type":"lightning"} + = + + + + ${host} + ${port} + ${scheme} + UTF-8 + /api/v1/wallet + POST + true + false + true + false + + + + + + + + + Referer + ${scheme}://${host}:${port}/ + + + Accept-Language + en-US,en;q=0.5 + + + Origin + ${scheme}://${host}:${port} + + + Content-Type + application/json + + + Accept-Encoding + gzip, deflate + + + User-Agent + Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:123.0) Gecko/20100101 Firefox/123.0 + + + Accept + application/json, text/plain, */* + + + x-api-key + ${userWalletAdminkey} + + + + + + + 200 + + + Assertion.response_code + false + 8 + + + + userNewWalletId + id + + no-user-new-wallet-id + + + + userNewWalletAdminkey + adminkey + + no-user-new-wallet-adminkey + + + + + false + true + + + + true + + + + false + {"username":"admin","password":"secret1234"} + = + + + + ${host} + ${port} + ${scheme} + UTF-8 + /api/v1/auth + POST + true + false + true + false + + + + + + + + + Referer + ${scheme}://${host}:${port}/ + + + Accept-Language + en-US,en;q=0.5 + + + Origin + ${scheme}://${host}:${port} + + + Content-Type + application/json + + + Accept-Encoding + gzip, deflate + + + User-Agent + Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:123.0) Gecko/20100101 Firefox/123.0 + + + Accept + application/json, text/plain, */* + + + + + + + 200 + + + Assertion.response_code + false + 8 + + + + + true + + + + false + {"amount":"9999999","id":"${userNewWalletId}"} + = + + + + ${host} + ${port} + ${scheme} + UTF-8 + /users/api/v1/balance + PUT + true + false + true + false + + + + + + + + + Referer + ${scheme}://${host}:${port}/ + + + Accept-Language + en-US,en;q=0.5 + + + Origin + ${scheme}://${host}:${port} + + + Content-Type + application/json + + + Accept-Encoding + gzip, deflate + + + User-Agent + Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:123.0) Gecko/20100101 Firefox/123.0 + + + Accept + application/json, text/plain, */* + + + + + + + 200 + + + Assertion.response_code + false + 8 + + + + + 2000 + + + + + false + true + false + + + + true + ${paymentCount} + + + + 1 + ${paymentCount} + 1 + paymentIndex + + true + + + + false + true + + + + 1000 + + + + 1000 + 10 + + true + + amount + + + + true + + + + false + { + "out": false, + "amount": ${amount}, + "memo": "${randomUserNamespace}", + "unit": "sat", + "lnurl_withdraw": null, + "fiat_provider": "", + "payment_hash": null +} + = + + + + ${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, */* + + + 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 + + + x-api-key + ${userNewWalletAdminkey} + + + + + + + 201 + + + Assertion.response_code + false + 8 + + + + + + false + true + + + + 2000 + + + + true + + + + false + { + "out": false, + "amount": 10, + "memo": "${randomUserNamespace}", + "unit": "sat", + "lnurl_withdraw": null, + "fiat_provider": "", + "payment_hash": null +} + = + + + + ${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, */* + + + 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 + + + x-api-key + ${adminWalletKey} + + + + + + + 201 + + + Assertion.response_code + false + 8 + + + + bolt11 + + false + false + false + true + + + + payment_hash + + false + false + false + true + + + + paymentRequest + bolt11 + 0 + no-payment-request + + + + paymentHash + payment_hash + 0 + no-payment-hash + + + + + + false + true + + + + true + + + + false + { + "out": true, + "memo": "paying ${randomUserNamespace}", + "unit": "sat", + "bolt11": "${paymentRequest}" +} + = + + + + ${host} + ${port} + ${scheme} + utf-8 + /api/v1/payments + POST + true + false + true + false + + 60000 + + + + + + + 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 + ${userNewWalletAdminkey} + + + 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 + + + + payment_hash + ${paymentHash} + true + false + false + false + + + + + 1000 + + + + + false + true + + + + 1000 + + + + + + + false + 500 + = + true + offset + + + false + time + = + true + sortby + + + false + desc + = + true + direction + + + + ${host} + ${port} + ${scheme} + utf-8 + /api/v1/payments/paginated + GET + true + false + true + false + + HttpClient4 + 60000 + + + + + + + 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 + ${userWalletAdminkey} + + + 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 + + + + + + + 200 + + + Assertion.response_code + false + 8 + + + + + + false + true + + + + 1000 + + + + + + + false + 500 + = + true + offset + + + false + time + = + true + sortby + + + false + desc + = + true + direction + + + + ${host} + ${port} + ${scheme} + utf-8 + /api/v1/payments/paginated + GET + true + false + true + false + + HttpClient4 + 60000 + + + + + + + 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 + ${userNewWalletAdminkey} + + + 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 + + + + + + + 200 + + + Assertion.response_code + false + 8 + + + + + + + false + true + false + + + + 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 + + + + 1000 + Response Time Graph + 0 + + + + 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 + + + + + + + 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 + + + + + From 3c94eac81e5be030e9a03e0caaec6549be3844b0 Mon Sep 17 00:00:00 2001 From: Vlad Stan Date: Wed, 26 Nov 2025 19:30:21 +0200 Subject: [PATCH 12/19] test: some changes --- integration/load_004_scenario_01.jmx | 131 ++++++++++++--------------- 1 file changed, 60 insertions(+), 71 deletions(-) diff --git a/integration/load_004_scenario_01.jmx b/integration/load_004_scenario_01.jmx index a46610ae..c4470e58 100644 --- a/integration/load_004_scenario_01.jmx +++ b/integration/load_004_scenario_01.jmx @@ -33,11 +33,6 @@ 3000 = - - defaultPaymentCount - 3 - = - configPath ${__BeanShell(import org.apache.jmeter.services.FileServer; FileServer.getFileServer().getBaseDir();)} @@ -58,6 +53,17 @@ aba01f535a7241889ebe79035bd13fa9 = + + randomUserNamespace + 0000 + Todo: make random + = + + + userCount + 3 + = + @@ -80,7 +86,7 @@ - + continue false @@ -100,30 +106,11 @@ false - + false - true + false - - fragments/init-server.jmx - - - - - false - true - - - - groovy - - - true - ${__Random(0,1000000000, randomUserNamespace)} - To avoid collision between tests - - true @@ -131,10 +118,10 @@ false { - "username": "user_${randomUserNamespace}", + "username": "user_loadtest_${randomUserNamespace}", "password": "secret1234", "password_repeat": "secret1234", - "email": "u_${randomUserNamespace}@lnbits.com" + "email": "user_loadtest_${randomUserNamespace}@lnbits.com" } = @@ -191,14 +178,14 @@ - + ${host} ${port} ${scheme} - utf-8 + UTF-8 /api/v1/auth GET true @@ -212,10 +199,34 @@ - - content-type + + Referer + ${scheme}://${host}:${port}/ + + + Accept-Language + en-US,en;q=0.5 + + + Origin + ${scheme}://${host}:${port} + + + Content-Type application/json + + Accept-Encoding + gzip, deflate + + + User-Agent + Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:123.0) Gecko/20100101 Firefox/123.0 + + + Accept + application/json, text/plain, */* + @@ -229,44 +240,22 @@ 8 - - username - user_${randomUserNamespace} - true - false - false - true - + + userSendWalletAdminKey + wallets[0].adminkey + + no-user-send-wallet-adminkey + - - userWalletId + + userSendWalletId wallets[0].id - no-user-wallet-id + no-user-send-wallet-id - - javascript - - - true - var userWalletId = vars.get("userWalletId") - -props.put("userWalletId", userWalletId) - - - - javascript - - - true - var adminWalletKey = vars.get("adminWalletKey") - -props.put("adminWalletKey", adminWalletKey) - - false true @@ -317,8 +306,8 @@ props.put("adminWalletKey", adminWalletKey) false 1 - 100 - 100 + 1 + 1 1370726934000 1370726934000 false @@ -739,16 +728,16 @@ props.put("adminWalletKey", adminWalletKey) false - + true - ${paymentCount} + ${userCount} 1 - ${paymentCount} + ${userCount} 1 - paymentIndex + userIndex true @@ -1469,7 +1458,7 @@ props.put("adminWalletKey", adminWalletKey) - 1000 + 20000 Response Time Graph 0 From 13d74d810dc01a8acaaf9edfe3fed64a7e48e3cb Mon Sep 17 00:00:00 2001 From: Vlad Stan Date: Wed, 26 Nov 2025 19:51:42 +0200 Subject: [PATCH 13/19] perf: setUp --- integration/load_004_scenario_01.jmx | 540 +++++++++++++++++++-------- 1 file changed, 386 insertions(+), 154 deletions(-) diff --git a/integration/load_004_scenario_01.jmx b/integration/load_004_scenario_01.jmx index c4470e58..fcef7d38 100644 --- a/integration/load_004_scenario_01.jmx +++ b/integration/load_004_scenario_01.jmx @@ -40,7 +40,7 @@ paymentCount - 100 + 2 = @@ -53,10 +53,10 @@ aba01f535a7241889ebe79035bd13fa9 = - - randomUserNamespace - 0000 - Todo: make random + + testRun + 0009 + Todo: make random, unique = @@ -87,7 +87,7 @@ - continue + stoptest false 1 @@ -106,11 +106,20 @@ false - - false - false - + + true + ${userCount} + + + 1 + ${userCount} + 1 + userIndex + + true + + true @@ -118,10 +127,10 @@ false { - "username": "user_loadtest_${randomUserNamespace}", + "username": "uload_${testRun}_${userIndex}", "password": "secret1234", "password_repeat": "secret1234", - "email": "user_loadtest_${randomUserNamespace}@lnbits.com" + "email": "uload_${testRun}_${userIndex}@lnbits.com" } = @@ -248,7 +257,7 @@ - userSendWalletId + userSendWalletId_${userIndex} wallets[0].id no-user-send-wallet-id @@ -256,12 +265,224 @@ - + + true + + + + false + {"username":"admin","password":"secret1234"} + = + + + + ${host} + ${port} + ${scheme} + UTF-8 + /api/v1/auth + POST + true + false + true + false + + + + + + + + + Referer + ${scheme}://${host}:${port}/ + + + Accept-Language + en-US,en;q=0.5 + + + Origin + ${scheme}://${host}:${port} + + + Content-Type + application/json + + + Accept-Encoding + gzip, deflate + + + User-Agent + Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:123.0) Gecko/20100101 Firefox/123.0 + + + Accept + application/json, text/plain, */* + + + + + + + 200 + + + Assertion.response_code + false + 8 + + + + + true + ${userCount} + + + + 1 + ${userCount} + 1 + userIndex + + true + + + + javascript + + + true + var index = vars.get("userIndex") +var userWalletId = vars.get("userSendWalletId_"+index) +vars.put("userSendWalletId", userWalletId) + + + + true + + + var index = vars.get("userIndex") +var userWalletId = vars.get("userSendWalletId_"+index) +vars.put("userSendWalletId", userWalletId) + javascript + + + + true + + + + false + {"amount":"1000000","id":"${userSendWalletId}"} + = + + + + ${host} + ${port} + ${scheme} + UTF-8 + /users/api/v1/balance + PUT + true + false + true + false + + + + + + + + + Referer + ${scheme}://${host}:${port}/ + + + Accept-Language + en-US,en;q=0.5 + + + Origin + ${scheme}://${host}:${port} + + + Content-Type + application/json + + + Accept-Encoding + gzip, deflate + + + User-Agent + Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:123.0) Gecko/20100101 Firefox/123.0 + + + Accept + application/json, text/plain, */* + + + + + + + 200 + + + Assertion.response_code + false + 8 + + + + + false true false + + 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 @@ -299,6 +520,157 @@ + + 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 + + + + 20000 + Response Time Graph + 0 + + + + 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 + + + + + continue @@ -577,146 +949,6 @@ true - - true - - - - false - {"username":"admin","password":"secret1234"} - = - - - - ${host} - ${port} - ${scheme} - UTF-8 - /api/v1/auth - POST - true - false - true - false - - - - - - - - - Referer - ${scheme}://${host}:${port}/ - - - Accept-Language - en-US,en;q=0.5 - - - Origin - ${scheme}://${host}:${port} - - - Content-Type - application/json - - - Accept-Encoding - gzip, deflate - - - User-Agent - Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:123.0) Gecko/20100101 Firefox/123.0 - - - Accept - application/json, text/plain, */* - - - - - - - 200 - - - Assertion.response_code - false - 8 - - - - - true - - - - false - {"amount":"9999999","id":"${userNewWalletId}"} - = - - - - ${host} - ${port} - ${scheme} - UTF-8 - /users/api/v1/balance - PUT - true - false - true - false - - - - - - - - - Referer - ${scheme}://${host}:${port}/ - - - Accept-Language - en-US,en;q=0.5 - - - Origin - ${scheme}://${host}:${port} - - - Content-Type - application/json - - - Accept-Encoding - gzip, deflate - - - User-Agent - Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:123.0) Gecko/20100101 Firefox/123.0 - - - Accept - application/json, text/plain, */* - - - - - - - 200 - - - Assertion.response_code - false - 8 - - - 2000 From 16572ed5bf9fb982ad48020534a2e117a8e845c6 Mon Sep 17 00:00:00 2001 From: Vlad Stan Date: Wed, 26 Nov 2025 20:19:38 +0200 Subject: [PATCH 14/19] test: good test --- integration/load_004_scenario_01.jmx | 335 +++++++++------------------ 1 file changed, 113 insertions(+), 222 deletions(-) diff --git a/integration/load_004_scenario_01.jmx b/integration/load_004_scenario_01.jmx index fcef7d38..bf1a3c50 100644 --- a/integration/load_004_scenario_01.jmx +++ b/integration/load_004_scenario_01.jmx @@ -40,7 +40,7 @@ paymentCount - 2 + 20 = @@ -55,13 +55,13 @@ testRun - 0009 + 0016 Todo: make random, unique = userCount - 3 + 100 = @@ -264,6 +264,45 @@ + + + + + ${host} + ${port} + ${scheme} + utf-8 + /api/v1/auth/logout + POST + true + false + true + false + + + + + + + + + content-type + application/json + + + + + + + 200 + + + Assertion.response_code + false + 8 + + + true @@ -349,16 +388,6 @@ true - - javascript - - - true - var index = vars.get("userIndex") -var userWalletId = vars.get("userSendWalletId_"+index) -vars.put("userSendWalletId", userWalletId) - - true @@ -592,7 +621,7 @@ vars.put("userSendWalletId", userWalletId) - 20000 + 100 Response Time Graph 0 @@ -678,8 +707,8 @@ vars.put("userSendWalletId", userWalletId) false 1 - 1 - 1 + ${userCount} + ${userCount} 1370726934000 1370726934000 false @@ -699,22 +728,13 @@ vars.put("userSendWalletId", userWalletId) true - - groovy - - - true - ${__Random(0,1000000000, randomUserNamespace)} - To avoid collision between tests - - true false - {"username":"load_user_${__threadNum}","password":"secret1234"} + {"username":"uload_${testRun}_${__threadNum}","password":"secret1234"} = @@ -842,17 +862,10 @@ vars.put("userSendWalletId", userWalletId) - userWalletAdminkey + userSendAdminKey wallets[0].adminkey - no-user-wallet-adminkey - - - - userWalletId - wallets[0].id - - no-user-wallet-id + no-user-send-adminkey @@ -862,7 +875,7 @@ vars.put("userSendWalletId", userWalletId) false - {"name":"Wallet for ${${__threadNum}}","wallet_type":"lightning"} + {"name":"Wallet for ${__threadNum}","wallet_type":"lightning"} = @@ -914,7 +927,7 @@ vars.put("userSendWalletId", userWalletId) x-api-key - ${userWalletAdminkey} + ${userSendAdminKey} @@ -929,47 +942,24 @@ vars.put("userSendWalletId", userWalletId) 8 - - userNewWalletId - id - - no-user-new-wallet-id - - - userNewWalletAdminkey + userReceiveAdminKey adminkey - no-user-new-wallet-adminkey + no-user-receive-adminkey - - false - true - - - - 2000 - - - - - false - true - false - - - + true - ${userCount} + ${paymentCount} - + 1 - ${userCount} + ${paymentCount} 1 - userIndex + paymentIndex true @@ -984,7 +974,7 @@ vars.put("userSendWalletId", userWalletId) - 1000 + 100 10 true @@ -1001,7 +991,7 @@ vars.put("userSendWalletId", userWalletId) { "out": false, "amount": ${amount}, - "memo": "${randomUserNamespace}", + "memo": "Payment for test run ${testRun}", "unit": "sat", "lnurl_withdraw": null, "fiat_provider": "", @@ -1066,7 +1056,7 @@ vars.put("userSendWalletId", userWalletId) x-api-key - ${userNewWalletAdminkey} + ${userReceiveAdminKey} @@ -1081,136 +1071,11 @@ vars.put("userSendWalletId", userWalletId) 8 - - - - false - true - - - - 2000 - - - - true - - - - false - { - "out": false, - "amount": 10, - "memo": "${randomUserNamespace}", - "unit": "sat", - "lnurl_withdraw": null, - "fiat_provider": "", - "payment_hash": null -} - = - - - - ${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, */* - - - 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 - - - x-api-key - ${adminWalletKey} - - - - - - - 201 - - - Assertion.response_code - false - 8 - - - - bolt11 - - false - false - false - true - - - - payment_hash - - false - false - false - true - - - - paymentRequest + + bolt11 bolt11 - 0 - no-payment-request - - - - paymentHash - payment_hash - 0 - no-payment-hash + + no-bolt11 @@ -1228,9 +1093,9 @@ vars.put("userSendWalletId", userWalletId) false { "out": true, - "memo": "paying ${randomUserNamespace}", + "memo": "paying ${testRun}", "unit": "sat", - "bolt11": "${paymentRequest}" + "bolt11": "${bolt11}" } = @@ -1275,7 +1140,7 @@ vars.put("userSendWalletId", userWalletId) X-Api-Key - ${userNewWalletAdminkey} + ${userSendAdminKey} Content-Type @@ -1306,15 +1171,6 @@ vars.put("userSendWalletId", userWalletId) 8 - - payment_hash - ${paymentHash} - true - false - false - false - - 1000 @@ -1335,7 +1191,7 @@ vars.put("userSendWalletId", userWalletId) false - 500 + 0 = true offset @@ -1396,7 +1252,7 @@ vars.put("userSendWalletId", userWalletId) X-Api-Key - ${userWalletAdminkey} + ${userSendAdminKey} Content-Type @@ -1429,7 +1285,7 @@ vars.put("userSendWalletId", userWalletId) - + false true @@ -1443,7 +1299,7 @@ vars.put("userSendWalletId", userWalletId) false - 500 + 0 = true offset @@ -1468,7 +1324,7 @@ vars.put("userSendWalletId", userWalletId) ${port} ${scheme} utf-8 - /api/v1/payments/paginated + /api/v1/payments/all/paginated GET true false @@ -1502,10 +1358,6 @@ vars.put("userSendWalletId", userWalletId) Accept application/json, text/plain, */* - - X-Api-Key - ${userNewWalletAdminkey} - Content-Type application/json;charset=utf-8 @@ -1538,7 +1390,46 @@ vars.put("userSendWalletId", userWalletId) - + + + + + ${host} + ${port} + ${scheme} + utf-8 + /api/v1/auth/logout + POST + true + false + true + false + + + + + + + + + content-type + application/json + + + + + + + 200 + + + Assertion.response_code + false + 8 + + + + false true false @@ -1690,7 +1581,7 @@ vars.put("userSendWalletId", userWalletId) - 20000 + 1000 Response Time Graph 0 From 94c78edcb30543af51a3250642914d1cc5fe5e91 Mon Sep 17 00:00:00 2001 From: Vlad Stan Date: Thu, 27 Nov 2025 09:25:32 +0200 Subject: [PATCH 15/19] test: more actions --- integration/load_004_scenario_01.jmx | 503 ++++++++++++++++++++++----- 1 file changed, 421 insertions(+), 82 deletions(-) diff --git a/integration/load_004_scenario_01.jmx b/integration/load_004_scenario_01.jmx index bf1a3c50..172d3906 100644 --- a/integration/load_004_scenario_01.jmx +++ b/integration/load_004_scenario_01.jmx @@ -55,13 +55,13 @@ testRun - 0016 + ${__time(/1000,)} Todo: make random, unique = userCount - 100 + 10 = @@ -869,86 +869,96 @@ vars.put("userSendWalletId", userWalletId) - - true - - - - false - {"name":"Wallet for ${__threadNum}","wallet_type":"lightning"} - = - - - - ${host} - ${port} - ${scheme} - UTF-8 - /api/v1/wallet - POST - true - false - true - false - - - - + + false + true + - - - - Referer - ${scheme}://${host}:${port}/ - - - Accept-Language - en-US,en;q=0.5 - - - Origin - ${scheme}://${host}:${port} - - - Content-Type - application/json - - - Accept-Encoding - gzip, deflate - - - User-Agent - Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:123.0) Gecko/20100101 Firefox/123.0 - - - Accept - application/json, text/plain, */* - - - x-api-key - ${userSendAdminKey} - - - - - - - 200 - - - Assertion.response_code - false - 8 - - - - userReceiveAdminKey - adminkey - - no-user-receive-adminkey - + + 1000 + + + true + + + + false + {"name":"Wallet for ${__threadNum}","wallet_type":"lightning"} + = + + + + ${host} + ${port} + ${scheme} + UTF-8 + /api/v1/wallet + POST + true + false + true + false + + + + + + + + + Referer + ${scheme}://${host}:${port}/ + + + Accept-Language + en-US,en;q=0.5 + + + Origin + ${scheme}://${host}:${port} + + + Content-Type + application/json + + + Accept-Encoding + gzip, deflate + + + User-Agent + Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:123.0) Gecko/20100101 Firefox/123.0 + + + Accept + application/json, text/plain, */* + + + x-api-key + ${userSendAdminKey} + + + + + + + 200 + + + Assertion.response_code + false + 8 + + + + userReceiveAdminKey + adminkey + + no-user-receive-adminkey + + + true @@ -964,6 +974,162 @@ vars.put("userSendWalletId", userWalletId) true + + false + true + + + + + + + ${host} + ${port} + ${scheme} + utf-8 + /api/v1/extension + GET + true + false + true + false + + HttpClient4 + 60000 + + + + + + + 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/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 + + + + + + + 200 + + + Assertion.response_code + false + 8 + + + + + + false + true + + + + + + + ${host} + ${port} + ${scheme} + utf-8 + /api/v1/rate/USD + GET + true + false + true + false + + HttpClient4 + 60000 + + + + + + + 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/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 + + + + + + + 200 + + + Assertion.response_code + false + 8 + + + + false true @@ -1389,6 +1555,179 @@ vars.put("userSendWalletId", userWalletId) + + false + true + + + + 1000 + + + + + + + ${host} + ${port} + ${scheme} + utf-8 + /api/v1/extension/all + GET + true + false + true + false + + HttpClient4 + 60000 + + + + + + + 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/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 + + + + + + + 200 + + + Assertion.response_code + false + 8 + + + + + + false + true + + + + 1000 + + + + + + + false + {"name":"Wallet for ${__threadNum}","wallet_type":"lightning"} + = + + + + true + ${host} + ${port} + ${scheme} + UTF-8 + /api/v1/wallet + POST + true + false + true + false + + + + + + + + + Referer + ${scheme}://${host}:${port}/ + + + Accept-Language + en-US,en;q=0.5 + + + Origin + ${scheme}://${host}:${port} + + + Content-Type + application/json + + + Accept-Encoding + gzip, deflate + + + User-Agent + Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:123.0) Gecko/20100101 Firefox/123.0 + + + Accept + application/json, text/plain, */* + + + x-api-key + ${userSendAdminKey} + + + + + + + 200 + + + Assertion.response_code + false + 8 + + + + userReceiveAdminKey + adminkey + + no-user-receive-adminkey + + + + @@ -1582,8 +1921,8 @@ vars.put("userSendWalletId", userWalletId) 1000 - Response Time Graph - 0 + scenatio_01 + 1 From 8c60921c8883895eb26091123f650f13e8469e64 Mon Sep 17 00:00:00 2001 From: Vlad Stan Date: Thu, 27 Nov 2025 09:31:07 +0200 Subject: [PATCH 16/19] fix: stuff --- integration/load_004_scenario_01.jmx | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/integration/load_004_scenario_01.jmx b/integration/load_004_scenario_01.jmx index 172d3906..0cfeb8ab 100644 --- a/integration/load_004_scenario_01.jmx +++ b/integration/load_004_scenario_01.jmx @@ -1647,6 +1647,7 @@ vars.put("userSendWalletId", userWalletId) + true @@ -1656,7 +1657,6 @@ vars.put("userSendWalletId", userWalletId) - true ${host} ${port} ${scheme} @@ -1719,13 +1719,6 @@ vars.put("userSendWalletId", userWalletId) 8 - - userReceiveAdminKey - adminkey - - no-user-receive-adminkey - - @@ -1921,7 +1914,7 @@ vars.put("userSendWalletId", userWalletId) 1000 - scenatio_01 + scenario_01 1 From 007a4e97a819cceea8f59234c55a3054d48077ef Mon Sep 17 00:00:00 2001 From: Vlad Stan Date: Thu, 27 Nov 2025 11:54:02 +0200 Subject: [PATCH 17/19] test: some clean-up --- integration/load_004_scenario_01.jmx | 69 +++++++++++++++------------- 1 file changed, 37 insertions(+), 32 deletions(-) diff --git a/integration/load_004_scenario_01.jmx b/integration/load_004_scenario_01.jmx index 0cfeb8ab..5b04068b 100644 --- a/integration/load_004_scenario_01.jmx +++ b/integration/load_004_scenario_01.jmx @@ -30,7 +30,7 @@ thinkTime - 3000 + 1000 = @@ -43,16 +43,6 @@ 20 = - - userAdminKey - 070e45be347f47d5becb6b1a1f937709 - = - - - adminWalletKey - aba01f535a7241889ebe79035bd13fa9 - = - testRun ${__time(/1000,)} @@ -61,7 +51,7 @@ userCount - 10 + 100 = @@ -621,7 +611,7 @@ vars.put("userSendWalletId", userWalletId) - 100 + 1000 Response Time Graph 0 @@ -874,8 +864,8 @@ vars.put("userSendWalletId", userWalletId) true - - 1000 + + ${thinkTime} @@ -1135,8 +1125,8 @@ vars.put("userSendWalletId", userWalletId) true - - 1000 + + ${thinkTime} @@ -1157,7 +1147,7 @@ vars.put("userSendWalletId", userWalletId) { "out": false, "amount": ${amount}, - "memo": "Payment for test run ${testRun}", + "memo": "Payment ${paymentIndex}/${paymentCount} for test run ${__threadNum}/${testRun}", "unit": "sat", "lnurl_withdraw": null, "fiat_provider": "", @@ -1338,18 +1328,18 @@ vars.put("userSendWalletId", userWalletId) - - 1000 + + ${thinkTime} - + false true - - 1000 + + ${thinkTime} @@ -1376,6 +1366,20 @@ vars.put("userSendWalletId", userWalletId) true direction + + false + failed + = + true + status[ne] + + + false + payment + = + true + search + ${host} @@ -1392,6 +1396,7 @@ vars.put("userSendWalletId", userWalletId) HttpClient4 60000 + With search text @@ -1451,13 +1456,13 @@ vars.put("userSendWalletId", userWalletId) - + false true - - 1000 + + ${thinkTime} @@ -1560,8 +1565,8 @@ vars.put("userSendWalletId", userWalletId) true - - 1000 + + ${thinkTime} @@ -1642,8 +1647,8 @@ vars.put("userSendWalletId", userWalletId) true - - 1000 + + ${thinkTime} @@ -1652,7 +1657,7 @@ vars.put("userSendWalletId", userWalletId) false - {"name":"Wallet for ${__threadNum}","wallet_type":"lightning"} + {"name":"Wallet ${paymentIndex}","wallet_type":"lightning"} = @@ -1913,7 +1918,7 @@ vars.put("userSendWalletId", userWalletId) - 1000 + 2000 scenario_01 1 From 18686a634fde08fa4117109058f502c6a7f44c86 Mon Sep 17 00:00:00 2001 From: Vlad Stan Date: Thu, 27 Nov 2025 12:02:09 +0200 Subject: [PATCH 18/19] test: change names --- integration/load_004_scenario_01.jmx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/integration/load_004_scenario_01.jmx b/integration/load_004_scenario_01.jmx index 5b04068b..3d560d2a 100644 --- a/integration/load_004_scenario_01.jmx +++ b/integration/load_004_scenario_01.jmx @@ -612,7 +612,7 @@ vars.put("userSendWalletId", userWalletId) 1000 - Response Time Graph + scenario_01_setup 0 @@ -1560,7 +1560,7 @@ vars.put("userSendWalletId", userWalletId) - + false true @@ -1918,7 +1918,7 @@ vars.put("userSendWalletId", userWalletId) - 2000 + 6000 scenario_01 1 From 27144919da9ac11bd1312853b3e96e1950bd6e4d Mon Sep 17 00:00:00 2001 From: Vlad Stan Date: Wed, 3 Dec 2025 10:18:42 +0200 Subject: [PATCH 19/19] test: clean-up --- integration/load_004_scenario_01.jmx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/integration/load_004_scenario_01.jmx b/integration/load_004_scenario_01.jmx index 3d560d2a..f54ef453 100644 --- a/integration/load_004_scenario_01.jmx +++ b/integration/load_004_scenario_01.jmx @@ -46,12 +46,11 @@ testRun ${__time(/1000,)} - Todo: make random, unique = userCount - 100 + 300 = @@ -1918,7 +1917,6 @@ vars.put("userSendWalletId", userWalletId) - 6000 scenario_01 1