From 543be854a36e3bf03812ab57f8f930106f810134 Mon Sep 17 00:00:00 2001 From: Nicolas DUPEUX Date: Fri, 21 Oct 2022 15:18:12 +0200 Subject: [PATCH 1/2] Correct duplicated scheme in URL --- docs/guide/real-life.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/guide/real-life.md b/docs/guide/real-life.md index f8a5cfa..03ef57e 100644 --- a/docs/guide/real-life.md +++ b/docs/guide/real-life.md @@ -307,8 +307,8 @@ And finally, the Venom test. name: Retrieve Reservation vars: - gw: http://localhost:8080 - mockserver: http://localhost:8081 + gw: localhost:8080 + mockserver: localhost:8081 dsn: user:password@(localhost:8082)/database testcases: From def043f8741c5dff0fe19dc9db841d4d92bcfc0c Mon Sep 17 00:00:00 2001 From: Nicolas DUPEUX Date: Fri, 21 Oct 2022 15:32:18 +0200 Subject: [PATCH 2/2] Read body from a file with the right keyword --- docs/guide/real-life.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guide/real-life.md b/docs/guide/real-life.md index 03ef57e..4a97020 100644 --- a/docs/guide/real-life.md +++ b/docs/guide/real-life.md @@ -330,7 +330,7 @@ testcases: - type: http method: POST url: http://{{.mockserver}}/mocks - body: ./mocks.yml + bodyFile: ./mocks.yml assertions: - result.statuscode ShouldEqual 200