From df03d2f6bd922c8aab663e7e2d9bb5f3111889a1 Mon Sep 17 00:00:00 2001 From: Trevor McMaster Date: Mon, 14 Aug 2023 09:06:10 -0600 Subject: [PATCH] Removed references to SystemTest --- .../src/components/YamlViewer/story.tsx | 8 ++++---- .../src/components/YamlWriterForm/writeyaml.ts | 2 +- lib/config-gen/tests/wasm.rs | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/guide/results-viewer-react/src/components/YamlViewer/story.tsx b/guide/results-viewer-react/src/components/YamlViewer/story.tsx index f23a02b0..cc3cb353 100644 --- a/guide/results-viewer-react/src/components/YamlViewer/story.tsx +++ b/guide/results-viewer-react/src/components/YamlViewer/story.tsx @@ -25,8 +25,8 @@ client: headers: TestTime: '\${epoch("ms")}' Accept: application/json - FS-User-Agent-Chain: PPAAS-Agent-Performance Test - User-Agent: FS-QA-SystemTest PPAAS Agent Performance Test + FS-User-Agent-Chain: Pewpew-Agent-Performance Test + User-Agent: Pewpew Agent Performance Test general: bucket_size: 1m log_provider_stats: 1m @@ -56,8 +56,8 @@ client: headers: TestTime: '\${epoch("ms")}' Accept: application/json - FS-User-Agent-Chain: PPAAS-Agent-Performance Test - User-Agent: FS-QA-SystemTest PPAAS Agent Performance Test + FS-User-Agent-Chain: Pewpew-Agent-Performance Test + User-Agent: Pewpew Agent Performance Test general: bucket_size: 1m log_provider_stats: 1m diff --git a/guide/results-viewer-react/src/components/YamlWriterForm/writeyaml.ts b/guide/results-viewer-react/src/components/YamlWriterForm/writeyaml.ts index 77444661..f22a995c 100644 --- a/guide/results-viewer-react/src/components/YamlWriterForm/writeyaml.ts +++ b/guide/results-viewer-react/src/components/YamlWriterForm/writeyaml.ts @@ -45,7 +45,7 @@ export const createYamlJson = ({ urls, patterns, vars, providers, loggers }: Omi // Default config myYaml.config = {}; myYaml.config.client = {}; - myYaml.config.client.headers = { "User-Agent": "FS-QA-SystemTest" }; + myYaml.config.client.headers = { "User-Agent": "Pewpew Performance Load Test" }; // eslint-disable-next-line camelcase myYaml.config.general = { bucket_size: "1m" }; diff --git a/lib/config-gen/tests/wasm.rs b/lib/config-gen/tests/wasm.rs index 699daa76..0d507af5 100644 --- a/lib/config-gen/tests/wasm.rs +++ b/lib/config-gen/tests/wasm.rs @@ -68,7 +68,7 @@ loggers: #[wasm_bindgen_test] fn other_test() { - let json_str = "{\"vars\":{\"rampTime\":\"${e:RAMP_TIME}\",\"loadTime\":\"${e:LOAD_TIME}\",\"peakLoad\":\"${e:PEAK_LOAD}\",\"sessionId\":\"${e:SESSIONID}\"},\"config\":{\"client\":{\"headers\":{\"User-Agent\":\"FS-QA-SystemTest\"}},\"general\":{\"bucket_size\":\"1m\",\"log_provider_stats\":true}},\"load_pattern\":[{\"linear\":{\"from\":\"10%\",\"to\":\"100%\",\"over\":\"15m\"}},{\"linear\":{\"from\":\"100%\",\"to\":\"100%\",\"over\":\"15m\"}}],\"loggers\":{\"httpErrors\":{\"query\":{\"select\":{\"timestamp\":\"epoch(\\\"ms\\\")\",\"rtt\":\"stats.rtt\",\"request\":\"request[\\\"start-line\\\"]\",\"requestHeaders\":\"request.headers\",\"requestBody\":\"request.body\",\"response\":\"response[\\\"start-line\\\"]\",\"status\":\"response.status\",\"responseHeaders\":\"response.headers\"},\"where\":\"response.status >= 400\"},\"to\":\"stderr\",\"limit\":200},\"testEnd\":{\"query\":{\"select\":{\"timestamp\":\"epoch(\\\"ms\\\")\",\"status\":\"response.status\",\"request\":\"request[\\\"start-line\\\"]\",\"response\":\"response[\\\"start-line\\\"]\"},\"where\":\"response.status >= 500\"},\"to\":\"stderr\",\"limit\":50,\"kill\":true}}}"; + let json_str = "{\"vars\":{\"rampTime\":\"${e:RAMP_TIME}\",\"loadTime\":\"${e:LOAD_TIME}\",\"peakLoad\":\"${e:PEAK_LOAD}\",\"sessionId\":\"${e:SESSIONID}\"},\"config\":{\"client\":{\"headers\":{\"User-Agent\":\"Pewpew Performance Load Test\"}},\"general\":{\"bucket_size\":\"1m\",\"log_provider_stats\":true}},\"load_pattern\":[{\"linear\":{\"from\":\"10%\",\"to\":\"100%\",\"over\":\"15m\"}},{\"linear\":{\"from\":\"100%\",\"to\":\"100%\",\"over\":\"15m\"}}],\"loggers\":{\"httpErrors\":{\"query\":{\"select\":{\"timestamp\":\"epoch(\\\"ms\\\")\",\"rtt\":\"stats.rtt\",\"request\":\"request[\\\"start-line\\\"]\",\"requestHeaders\":\"request.headers\",\"requestBody\":\"request.body\",\"response\":\"response[\\\"start-line\\\"]\",\"status\":\"response.status\",\"responseHeaders\":\"response.headers\"},\"where\":\"response.status >= 400\"},\"to\":\"stderr\",\"limit\":200},\"testEnd\":{\"query\":{\"select\":{\"timestamp\":\"epoch(\\\"ms\\\")\",\"status\":\"response.status\",\"request\":\"request[\\\"start-line\\\"]\",\"response\":\"response[\\\"start-line\\\"]\"},\"where\":\"response.status >= 500\"},\"to\":\"stderr\",\"limit\":50,\"kill\":true}}}"; let _lt: LoadTest = serde_json::from_str(json_str).unwrap(); let _yaml = load_test_yaml_from_js(json_str) .map_err(JsValue::from)