Record multiple external services
See original GitHub issueHi,
First of all congratulations for this great library. Its simple to use, good documentation and more importantly: it works! 😃
My issue is related with the fact that I need to record not one external service but many of them. It seems that the wiremock-standalone just has the option to setup one proxy using the --proxy-all
switch. Is it possible to record with my own defined stubs? If no, is there any other to achieve this?
Thanks a lot! Leo
Issue Analytics
- State:
- Created 8 years ago
- Comments:5
Top Results From Across the Web
Record multiple external services · Issue #299 · wiremock ...
Yes, it is possible to record against multiple targets by configuring a proxy stub mapping against each of them via the API rather...
Read more >External Services - Salesforce Help
Connect your Salesforce org to an external API using zero lines of code. Use declarative tools and OpenAPI specifications to describe the external...
Read more >Introduction to External Services | Low Code Integration
Want to learn more about salesforce join me at https://sfdcpanther.com Link to Swagger Schema that we have used for demo ...
Read more >Integrating External Services | Developer Guide
Integrating External Services. Overview; Defining a Service for an External Database. Step 1: Define a Service; Step 2: Consume a Service.
Read more >External services | New Relic Documentation
To use the external services feature, you need a New Relic account with an installed APM agent with distributed tracing enabled. If you...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks!
Yes, it is possible to record against multiple targets by configuring a proxy stub mapping against each of them via the API rather than via the --proxy-all param (which actually just creates a single proxy mapping internally).
Hi; I just used wiremock to do some load testing in docker and it worked great; FWIW being able to record multiple urls at once would be nice, e.g. in
docker-compose
I had a singlewiremock
instance, and then gave my app bothSERVICE_A_URL=http://wiremock/
andSERVICE_B_URL=http://wiremock
as environment variables, but it meant I had to stop/startwiremock
a few times to change theproxy-all
from service a, record a request, shut it down, changeproxy-all
to service b, record a request, shut it down.Doing something like
--proxy-host=servicea:http://service-a.company.com --proxy-host=serviceb:http://service-b.company.com
and then using host headers (e.g.SERVICE_A_URL=http://servicea/
withindocker-compose
) would be spiffy (specifically for recording requests that touch multiple services).Great tool; thanks!