edmunds / shadowreader

Serverless load testing for replaying website traffic. Powered by AWS Lambda.
Apache License 2.0
158 stars 13 forks source link

Multiple VirtualHosts - base_url support? #63

Open lkolchin opened 4 years ago

lkolchin commented 4 years ago

Hello,

I can see a provision for multiple Apps in your code - apps_to_test

But it's not clear how to use it with multiple Apps/VirtHosts served out of the same ALB.

So let's say we have multiple VirtualHosts served via the same ALB (CDN->ALB->EC2). How can I simulate Prod traffic with multiple origin_urls->base_urls? How do you do that with multiple Apps when the ALB logs are coming from the same source? Would you use something like - origin_url to base_url mapping?

Looking at the comments section here - https://opensource.com/article/19/3/shadowreader-serverless It looks like you're doing something similar but from the doco it's not clear how to configure it.

Tnx