File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ emitSuccessfulTestData () {
3737
3838 # echo -e "\nSuccess payload: $successReport\n"
3939 # Post the data as newline-delimited JSON
40- curl -k " https://103443579803.collect.observeinc.com/v1/http" -H " Authorization: Bearer $OBSERVE_MOBILE_TOKEN " -H " Content-Type: application/x-ndjson" --data-binary @- <<< " $successReport"
40+ curl " https://103443579803.collect.observeinc.com/v1/http" -H " Authorization: Bearer $OBSERVE_MOBILE_TOKEN " -H " Content-Type: application/x-ndjson" --data-binary @- <<< " $successReport"
4141 successReport=" " # Reset the successReport after emitting it
4242 successCount=0
4343}
5959 # Wrap it in the "data" object for Observe
6060 payload=" {\" data\" : $eventPayload }"
6161 echo -e " \nsummary payload: $payload "
62- curl -k " https://103443579803.collect.observeinc.com/v1/http" -H " Authorization: Bearer $OBSERVE_MOBILE_TOKEN " -H " Content-Type: application/json" -d " $payload "
62+ curl " https://103443579803.collect.observeinc.com/v1/http" -H " Authorization: Bearer $OBSERVE_MOBILE_TOKEN " -H " Content-Type: application/json" -d " $payload "
6363 fi
6464
6565 # For <testcase> lines, store the test info. We will construct the payload at </testcase>
157157 payload=" {\" data\" : $eventPayload }"
158158
159159 echo -e " \ncost payload: $payload "
160- curl -k " https://103443579803.collect.observeinc.com/v1/http" -H " Authorization: Bearer $OBSERVE_MOBILE_TOKEN " -H " Content-Type: application/json" -d " $payload "
160+ curl " https://103443579803.collect.observeinc.com/v1/http" -H " Authorization: Bearer $OBSERVE_MOBILE_TOKEN " -H " Content-Type: application/json" -d " $payload "
161161 fi
162162done < " $costFile "
You can’t perform that action at this time.
0 commit comments