The POST operation returns 201, not 200.
This causes checks to fail when running k6 manually.
Issue-ID: CPS-2267
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I3c0e771b89aa09e41c9dbdf1c532599e1ab5440d
export function passthrough_write() {
const response = passthroughWrite();
- check(response, { 'passthrough write status equals 200': (r) => r.status === 200 });
+ check(response, { 'passthrough write status equals 201': (r) => r.status === 201 });
const overhead = response.timings.duration - WRITE_DATA_FOR_CM_HANDLE_DELAY_MS;
passthroughWriteNcmpOverheadTrend.add(overhead);
}