From 251bc203d897715e4576b5434034ca817d3120fa Mon Sep 17 00:00:00 2001 From: hskwon Date: Mon, 8 Dec 2025 19:03:58 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20FlowExecutor=20GET=20=EC=9A=94=EC=B2=AD?= =?UTF-8?q?=20=EC=8B=9C=20query=20=ED=8C=8C=EB=9D=BC=EB=AF=B8=ED=84=B0=20?= =?UTF-8?q?=EC=A7=80=EC=9B=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - GET 요청에서 query 필드를 URL 쿼리스트링으로 전송 - 요청 로그에 query 정보 포함 (에러/성공 모두) --- app/Services/FlowTester/FlowExecutor.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/Services/FlowTester/FlowExecutor.php b/app/Services/FlowTester/FlowExecutor.php index 09bd3c9b..021014f5 100644 --- a/app/Services/FlowTester/FlowExecutor.php +++ b/app/Services/FlowTester/FlowExecutor.php @@ -223,12 +223,14 @@ private function executeStep(array $step): array $endpoint = $this->binder->bind($step['endpoint']); $headers = $this->binder->bind($step['headers'] ?? []); $body = $this->binder->bind($step['body'] ?? []); + $query = $this->binder->bind($step['query'] ?? []); // 3. HTTP 요청 실행 $method = strtoupper($step['method']); $response = $this->httpClient->request($method, $endpoint, [ 'headers' => $headers, 'body' => $body, + 'query' => $query, ]); // 4. HTTP 에러 체크 @@ -240,6 +242,7 @@ private function executeStep(array $step): array 'endpoint' => $endpoint, 'headers' => $headers, 'body' => $body, + 'query' => $query, ], ]); } @@ -281,6 +284,7 @@ private function executeStep(array $step): array 'endpoint' => $endpoint, 'headers' => $headers, 'body' => $body, + 'query' => $query, ], 'response' => [ 'status' => $response['status'],