Contributions
Return fixed JPEG in REST MockService
Hi. I am attempting to mock an RESTful API that we use to download images froma URL. The API of the RESTful service documentation says: You receive a JPG or PNG image in case of success with the according header (e.g. ContentType: image/jpeg). How can I setup a mockservice response to do this? I do notneed the image in my reponse to be dynamic. I just need a valid JPG to be returned when the mocked URL receives a GET request. Thanks Dave1.6KViews0likes3CommentsRe: Can I start 2 out of 3 mock services in one project using MockServiceRunner.bat?
Hi. I am currently working with existing code that is using the MockServiceRunner.bat file. It would be easier if I could do this using command line arguments with the bat file. If I can't do that, then this gives me an alternative. Thanks.1.8KViews0likes2CommentsCan I start 2 out of 3 mock services in one project using MockServiceRunner.bat?
I have a project containing 3 mock services, but I only want to start 2 of them using the MockServiceRunner.bat file. I can start one (using -m switch) and all of them (just supplying the project xml file path to the bat) but I can't work out how to start 2 of the 3, or if this is even possible. ThanksSolved1.8KViews0likes4Comments