0

To setup context - Currently I'm using an application called serenityBDD which generates a bunch of html and csv files after an automated test run is done. The files are all dumped in directory:

/home/user/serenity

I then map that directory with a docker volume and run apache through docker with the below command:

docker run --privileged -d --name serenity -p 80:80 -v /home/user/serenity:/usr/local/apache2/htdocs/ httpd

And the tests can be accessed through http on the url for the public ip of that server. eg:

http://serenity-reports.com

Now there's another requirement to get a separate set of tests result with different criteria - This would mean after a test run there are two sets of html and csv files generated (we'll call them A and B).

How would I go about making results accessible via different context paths? E.g A all accessible via

http://serenity-reports.com/A

and B results to be accessible via

http://serenity-reports.com/B

Combining the two websites and just separating them with a context path - I assume I could also then make a crude index.html file at the root to list the two options

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.