Contributions
Swagger behind Nginx instead of Zuul
How does Zuul make it swagger on http://foo-service:8080 works correctly for external access from http://public.com/foo-service ? I have a task to replace Zuul with nginx (It's not my decision, I can't change it). I rewrite in nginx http://public.com/foo-service/names-controller/swagger-ui.html to http://foo-service:8080/names-controller/swagger-ui.html , but in swagger response I get broken links - without /foo-service/ that is I get http://public.com/names-controller... instead of http://public.com/foo-service/names-controller/.... With Zuul it was working fine out of the box - magic. Is there any http request header Zuul is setting that is used by swagger? How does Zuul make it Swagger works fine? How could it be done in Nginx?Solved1.1KViews0likes1Commentmock webservice for high load with high delay
Hallo is it possible to mock a web service, that will be able to service 150 req/second with 50 second delay in response ? with low load, it can be done with sleep(50 000), but with 150 req/sec * 50 sec = 7500 pending requests I suppose soap ui uses thread for each requests and when sleep, thread is pending, is it possible to start soapui mock in async mode, and replace sleep(50000) with some request queue ? requests would be put to queue, and picked after 50 000, is it possible anyway to mock such load with such delay ? regards1.3KViews0likes1Comment