-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCodeFrameworkSamples.websurge
105 lines (78 loc) · 2.78 KB
/
CodeFrameworkSamples.websurge
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
POST http://localhost:5008/api/users/IsAuthenticated HTTP/1.1
Accept-Encoding: gzip,deflate
Content-type: application/json
Origin: west-wind.com
{
}
------------------------------------------------------------------
GET http://localhost:5008/api/users/c68e7326-d14f-4b33-a9b7-82008bb1564f HTTP/1.1
Accept-Encoding: gzip,deflate
Content-type: application/json
------------------------------------------------------------------
GET http://localhost:5008/api/customers/GetCustomers HTTP/1.1
Accept-Encoding: gzip,deflate
Content-type: application/json
Websurge-Request-Name: GetCustomers - should fail as Name overrides
------------------------------------------------------------------
GET http://localhost:5008/api/customers HTTP/1.1
Accept-Encoding: gzip,deflate
Content-type: application/json
Origin: west-wind.com
Websurge-Request-Name: No Method - should return customerlist
------------------------------------------------------------------
POST http://localhost:5008/api/customers/c68e7326-d14f-4b33-a9b7-82008bb1564f HTTP/1.1
Accept-Encoding: gzip,deflate
Content-type: application/json
{
"id": "{0111-1111-11111}"
}
------------------------------------------------------------------
GET http://localhost:5008/api/users HTTP/1.1
Accept-Encoding: gzip,deflate
Origin: west-wind.com
------------------------------------------------------------------
OPTIONS http://localhost:5008/api/users HTTP/1.1
Accept-Encoding: gzip,deflate
Content-type: application/json
Origin: west-wind.com
------------------------------------------------------------------
GET https://api.epsservices.net/person/countries HTTP/1.1
Accept-Encoding: gzip,deflate
Origin: west-wind.com
------------------------------------------------------------------
POST http://localhost:5008/api/users/resetpassword HTTP/1.1
Accept-Encoding: gzip,deflate
Content-type: application/json
Origin: west-wind.com
{
"Username": "passw0rd"
}
------------------------------------------------------------------
----- Start WebSurge Options -----
{
"NoProgressEvents": false,
"DelayTimeMs": 0,
"NoContentDecompression": false,
"CaptureMinimalResponseData": false,
"MaxResponseSize": 0,
"ReplaceQueryStringValuePairs": null,
"ReplaceDomain": "localhost:5000",
"ReplaceCookieValue": null,
"ReplaceAuthorization": null,
"Username": null,
"Password": null,
"Users": [],
"RandomizeRequests": false,
"RequestTimeoutMs": 15000,
"WarmupSeconds": 2,
"ReloadTemplates": false,
"FormattedPreviewTheme": "visualstudio",
"LastThreads": 2,
"IgnoreCertificateErrors": false,
"TrackPerSessionCookies": true,
"LastSecondsToRun": 10
}
// This file was generated by West Wind WebSurge
// Get your free copy at https://websurge.west-wind.com
// to easily test or load test the requests in this file.
----- End WebSurge Options -----