@skyramp/skyramp 0.5.25 → 0.5.26
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
|
@@ -631,16 +631,16 @@ class SkyrampClient {
|
|
|
631
631
|
} else if (res) {
|
|
632
632
|
if (res.error != null) {
|
|
633
633
|
if (res.response != null) {
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
634
|
+
const jsonResponse = JSON.parse(res.response);
|
|
635
|
+
const response = new ResponseV2(jsonResponse);
|
|
636
|
+
this.failedResponses.push(response)
|
|
637
637
|
}
|
|
638
638
|
reject(res.error);
|
|
639
639
|
} else if (res.response != null) {
|
|
640
640
|
const jsonResponse = JSON.parse(res.response);
|
|
641
641
|
const response = new ResponseV2(jsonResponse);
|
|
642
642
|
if (response.error != "") {
|
|
643
|
-
|
|
643
|
+
this.failedResponses.push(response)
|
|
644
644
|
}
|
|
645
645
|
resolve(response);
|
|
646
646
|
} else {
|
|
@@ -778,7 +778,7 @@ class SkyrampClient {
|
|
|
778
778
|
options.loadRampupInterval || "0",
|
|
779
779
|
options.loadTargetRPS || "0",
|
|
780
780
|
options.unblock || false,
|
|
781
|
-
options.
|
|
781
|
+
options.entrypoint || "",
|
|
782
782
|
options.accessToken || "",
|
|
783
783
|
(err, res) => {
|
|
784
784
|
if (err) {
|