Hello, how are you?
The newest release of uaiMockVersion has a lot of new features that will influenciate a lot the HTTP mock open sources frameworks.
The first big feature is a GUI that will allow you to edit your requests:
You will not need to edit those boring configuration files anymore, all you need to do is to use access the GUI through the default url: http://localhost:1234/uaiGui/index
Another feature allows you to analyse everything in your request/response, very easily. All you need to do is to go to the Log tab and fire the request:
And if you detail a success request you will see:
And if you detail a request with error:
To help you to find out what kind of error just happened, you will be able to see the server log:
The last, but not least, feature is a JUnit runner that will control the server for you:
Using like the sample above you will not need to start and stop the uaiMockServer manually. Using like above the uaiMockServer will search for the default file named: uaiMockServer.json
You could also set specific config file:
And if you are a Spring user, you could also use the Spring Runner:
The last update in this new version was to change the config file from HCON to JSON. Unfortunately you will need to change your config file from HCON to JSON, sorry for that. I could not keep using the HCON type anymore.
The config file will look like below:
One advantage of the config file as JSON is that any file editor will be able to give you a better support.
The project site: http://uaimockserver.com/
Source code: https://github.com/uaihebert/uaiMockServer
Standalone version and config example: https://sourceforge.net/projects/uaimockserver/
<dependency> <groupId>uaihebert.com</groupId> <artifactId>uaiMockServer</artifactId> <version>1.1.0</version> <scope>test</scope> </dependency>
I hope you liked the news.
If you have any questions/doubt/suggestion just post it below.