ml-testing-toolkit 18.16.3 → 18.16.4-snapshot.0
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.
|
@@ -785,7 +785,7 @@
|
|
|
785
785
|
</div>
|
|
786
786
|
</div>
|
|
787
787
|
{{/if}}
|
|
788
|
-
{{#if callback.
|
|
788
|
+
{{#if callback.originalHeaders}}
|
|
789
789
|
<div class="row">
|
|
790
790
|
<div class="col-sm-12 mb-3">
|
|
791
791
|
<div class="card-deck">
|
|
@@ -796,7 +796,7 @@
|
|
|
796
796
|
<table class="table table-bordered">
|
|
797
797
|
<thead class="thead-light text-center"><tr><th>Header Name</th><th>Header Value</th></tr></thead>
|
|
798
798
|
<tbody>
|
|
799
|
-
{{#each callback.
|
|
799
|
+
{{#each callback.originalHeaders}}
|
|
800
800
|
<tr>
|
|
801
801
|
<td class="text-nowrap">{{@key}}</td>
|
|
802
802
|
<td>{{this}}</td>
|
|
@@ -811,7 +811,7 @@
|
|
|
811
811
|
</div>
|
|
812
812
|
</div>
|
|
813
813
|
{{/if}}
|
|
814
|
-
{{#if callback.
|
|
814
|
+
{{#if callback.originalBody}}
|
|
815
815
|
<div class="row">
|
|
816
816
|
<div class="col-sm-12 mb-3">
|
|
817
817
|
<div class="card-deck">
|
|
@@ -819,7 +819,7 @@
|
|
|
819
819
|
<div class="card-body">
|
|
820
820
|
<h5 class="card-title text-uppercase text-white text-center bg-info">Callback Body</h5>
|
|
821
821
|
<div class="dyn-height">
|
|
822
|
-
<pre><code id="copyText-callbackBody-{{../id}}-{{request.id}}" class="prettyPrint">{{jsonStringify callback.
|
|
822
|
+
<pre><code id="copyText-callbackBody-{{../id}}-{{request.id}}" class="prettyPrint">{{jsonStringify callback.originalBody}}</code></pre>
|
|
823
823
|
</div>
|
|
824
824
|
<div class="card-footer">
|
|
825
825
|
<button class="btn btn-outline-secondary btn-sm copyButton" type="button" data-clipboard-action="copy" data-clipboard-target="#copyText-callbackBody-{{../id}}-{{request.id}}">Copy to Clipboard</button>
|
|
@@ -830,6 +830,51 @@
|
|
|
830
830
|
</div>
|
|
831
831
|
</div>
|
|
832
832
|
{{/if}}
|
|
833
|
+
{{#if callback.headers}}
|
|
834
|
+
<div class="row">
|
|
835
|
+
<div class="col-sm-12 mb-3">
|
|
836
|
+
<div class="card-deck">
|
|
837
|
+
<div class="card border-info" style="width: 50rem;">
|
|
838
|
+
<div class="card-body">
|
|
839
|
+
<h5 class="card-title text-uppercase text-white text-center bg-info">Transformed Callback Headers</h5>
|
|
840
|
+
<div class="table-responsive">
|
|
841
|
+
<table class="table table-bordered">
|
|
842
|
+
<thead class="thead-light text-center"><tr><th>Header Name</th><th>Header Value</th></tr></thead>
|
|
843
|
+
<tbody>
|
|
844
|
+
{{#each callback.headers}}
|
|
845
|
+
<tr>
|
|
846
|
+
<td class="text-nowrap">{{@key}}</td>
|
|
847
|
+
<td>{{this}}</td>
|
|
848
|
+
</tr>
|
|
849
|
+
{{/each}}
|
|
850
|
+
</tbody>
|
|
851
|
+
</table>
|
|
852
|
+
</div>
|
|
853
|
+
</div>
|
|
854
|
+
</div>
|
|
855
|
+
</div>
|
|
856
|
+
</div>
|
|
857
|
+
</div>
|
|
858
|
+
{{/if}}
|
|
859
|
+
{{#if callback.body}}
|
|
860
|
+
<div class="row">
|
|
861
|
+
<div class="col-sm-12 mb-3">
|
|
862
|
+
<div class="card-deck">
|
|
863
|
+
<div class="card border-info" style="width: 50rem;">
|
|
864
|
+
<div class="card-body">
|
|
865
|
+
<h5 class="card-title text-uppercase text-white text-center bg-info">Transformed Callback Body</h5>
|
|
866
|
+
<div class="dyn-height">
|
|
867
|
+
<pre><code id="copyText-transformedCallbackBody-{{../id}}-{{request.id}}" class="prettyPrint">{{jsonStringify callback.body}}</code></pre>
|
|
868
|
+
</div>
|
|
869
|
+
<div class="card-footer">
|
|
870
|
+
<button class="btn btn-outline-secondary btn-sm copyButton" type="button" data-clipboard-action="copy" data-clipboard-target="#copyText-transformedCallbackBody-{{../id}}-{{request.id}}">Copy to Clipboard</button>
|
|
871
|
+
</div>
|
|
872
|
+
</div>
|
|
873
|
+
</div>
|
|
874
|
+
</div>
|
|
875
|
+
</div>
|
|
876
|
+
</div>
|
|
877
|
+
{{/if}}
|
|
833
878
|
|
|
834
879
|
<div class="row">
|
|
835
880
|
<div class="card border-info">
|