https://linen.dev logo
d

Darren Rose

07/04/2023, 9:45 AM
Hi, I am running 2 instances of container
wiremock/wiremock:2.35.0
on different ports for record and playback of 2 different target URLs. However one endpoint seems to always record 0 stubs. I am trying to determine why. The containers are volume mapped to different local folders.
o

Oleg Nenashev

07/04/2023, 9:52 AM
Hi! Do you have something in the logs from the instances? WireMock processes are independent, and there should be no intersection between them if configured properly
d

Darren Rose

07/04/2023, 9:53 AM
I'll try again using
--verbose
👍 1
are graphql requests/responses recordable?
o

Oleg Nenashev

07/04/2023, 10:49 AM
Yes, because they are REST APIs in a nutshell. But you won't have advanced matching until the GraphQL extension is fully ready
d

Darren Rose

07/04/2023, 10:50 AM
ok but stubs should be generated?
o

Oleg Nenashev

07/04/2023, 10:50 AM
Yes
d

Darren Rose

07/04/2023, 11:45 AM
resolved - thanks - it was hard coded endpoints in a
settings.ts
file even though environment variables are also used
o

Oleg Nenashev

07/04/2023, 11:49 AM
Would be worth adding a warning but the priorities seem to be legit.
And thanks for confirming!
1