@skyramp/skyramp 1.3.1 → 1.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -14,6 +14,7 @@ class ResponseV2 {
|
|
|
14
14
|
* @param {string} [options.response_body=''] - Body of the response
|
|
15
15
|
* @param {Object} [options.request_headers={}] - Headers included in the request
|
|
16
16
|
* @param {string} [options.request_body=''] - Body of the request
|
|
17
|
+
* @param {Object} [options.cookies={}] - Cookies included in the response
|
|
17
18
|
* @param {string} [options.duration=''] - Duration of the request/response cycle
|
|
18
19
|
*/
|
|
19
20
|
constructor(options = {}) {
|
|
@@ -24,6 +25,7 @@ class ResponseV2 {
|
|
|
24
25
|
this.responseBody = options.response_body || '';
|
|
25
26
|
this.requestHeaders = options.request_headers || {};
|
|
26
27
|
this.requestBody = options.request_body || '';
|
|
28
|
+
this.cookies = options.cookies || {};
|
|
27
29
|
this.duration = options.duration || '';
|
|
28
30
|
this.error = options.error || '';
|
|
29
31
|
this.description = options.description || '';
|
|
@@ -39,6 +41,7 @@ class ResponseV2 {
|
|
|
39
41
|
responseBody: 'response_body',
|
|
40
42
|
requestHeaders: 'request_headers',
|
|
41
43
|
requestBody: 'request_body',
|
|
44
|
+
cookies: 'cookies',
|
|
42
45
|
duration: 'duration',
|
|
43
46
|
error: 'error',
|
|
44
47
|
description: 'description'
|
|
@@ -74,6 +77,7 @@ class ResponseV2 {
|
|
|
74
77
|
responseBody: 'response_body',
|
|
75
78
|
requestHeaders: 'request_headers',
|
|
76
79
|
requestBody: 'request_body',
|
|
80
|
+
cookies: 'cookies',
|
|
77
81
|
duration: 'duration',
|
|
78
82
|
error: 'error',
|
|
79
83
|
description: 'description'
|
|
@@ -125,6 +125,7 @@ interface GenerateRestTestOptions {
|
|
|
125
125
|
playwrightInput?: string;
|
|
126
126
|
playwrightViewportSize?: string;
|
|
127
127
|
playwrightStoragePath?: string;
|
|
128
|
+
playwrightSaveStoragePath?: string;
|
|
128
129
|
loadCount?: string;
|
|
129
130
|
loadDuration?: string;
|
|
130
131
|
loadNumThreads?: string;
|
|
@@ -57,7 +57,7 @@ const deployTargetWrapper = lib.func('deployTargetWrapper', 'string', ['string',
|
|
|
57
57
|
const deleteTargetWrapper = lib.func('deleteTargetWrapper', 'string', ['string', 'string', 'string', 'string', 'string']);
|
|
58
58
|
const runTesterGenerateRestWrapper = lib.func('runTesterGenerateRestWrapper', testerGenerateType, ['string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'int', 'bool', 'bool', 'bool']);
|
|
59
59
|
|
|
60
|
-
const generateRestTestWrapper = lib.func('generateRestTestWrapper', 'string', ['string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'bool', 'bool', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'bool', 'string', 'bool', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'bool', 'string', 'string']);
|
|
60
|
+
const generateRestTestWrapper = lib.func('generateRestTestWrapper', 'string', ['string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'bool', 'bool', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'bool', 'string', 'bool', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'bool', 'string', 'string']);
|
|
61
61
|
const traceCollectWrapper = lib.func('traceCollectWrapper', 'string', ['string', 'string', 'bool', 'string', 'string']);
|
|
62
62
|
const analyzeOpenapiWrapper = lib.func('analyzeOpenapiWrapper', 'string', ['string', 'string']);
|
|
63
63
|
|
|
@@ -865,6 +865,7 @@ class SkyrampClient {
|
|
|
865
865
|
options.playwrightInput || "",
|
|
866
866
|
options.playwrightViewportSize || "",
|
|
867
867
|
options.playwrightStoragePath || "",
|
|
868
|
+
options.playwrightSaveStoragePath || "",
|
|
868
869
|
options.loadCount || "0",
|
|
869
870
|
options.loadDuration || "0",
|
|
870
871
|
options.loadNumThreads || "0",
|