@@ -16,7 +16,7 @@ duration < 1000 # Should respond within 1 second
1616GET http://localhost:{{port}}/test-http/get
1717HTTP 200
1818[Asserts]
19- jsonpath "$.url" == "https ://httpbin.org /get"
19+ jsonpath "$.url" == "http ://localhost:8888 /get"
2020header "Content-Type" contains "application/json"
2121
2222# =============================================================================
@@ -42,7 +42,7 @@ Content-Type: application/json
4242}
4343HTTP 200
4444[Asserts]
45- jsonpath "$.url" == "https ://httpbin.org /post"
45+ jsonpath "$.url" == "http ://localhost:8888 /post"
4646jsonpath "$.json.test" == "data"
4747jsonpath "$.json.number" == 42
4848jsonpath "$.json.nested.key" == "value"
@@ -58,7 +58,7 @@ Content-Type: application/json
5858}
5959HTTP 200
6060[Asserts]
61- jsonpath "$.url" == "https ://httpbin.org /put"
61+ jsonpath "$.url" == "http ://localhost:8888 /put"
6262jsonpath "$.json.action" == "update"
6363
6464# =============================================================================
@@ -67,7 +67,7 @@ jsonpath "$.json.action" == "update"
6767DELETE http://localhost:{{port}}/test-http/delete
6868HTTP 200
6969[Asserts]
70- jsonpath "$.url" == "https ://httpbin.org /delete"
70+ jsonpath "$.url" == "http ://localhost:8888 /delete"
7171
7272# =============================================================================
7373# HTTP Proxy - Custom Headers Test
@@ -86,7 +86,7 @@ jsonpath "$.headers['User-Agent']" == "ss-proxy-test/1.0"
8686GET http://localhost:{{port}}/test-http/anything/path/to/resource
8787HTTP 200
8888[Asserts]
89- jsonpath "$.url" == "https ://httpbin.org /anything/path/to/resource"
89+ jsonpath "$.url" == "http ://localhost:8888 /anything/path/to/resource"
9090
9191# =============================================================================
9292# JSON API Proxy Test (jsonplaceholder)
0 commit comments