Run in working directory java -Dloader.path=lib/ -Dfile.encoding=UTF-8 -jar atf-wiremock-version.jar
application.properties file description
Property
Description
server.port
application run port
logging.file
log file name
mq.manager
JMS provider name
mq.host
JMS host
mq.port
JMS port
mq.username
JMS username
mq.password
JSM password
mq.default.destination.queue.name
properties.yaml.file
Wiremock mappings configuration file name
test.id.header.name
Wiremock mappings configuration file description
Wiremock mapping configuration file has json format.
Property
Description
id
mock's id
request
mock's request patter
request.url
JMS provider name
request.method
JMS host
request.headers
JMS port
request.bodyPatterns
JMS username
response
mock's response
response.status
response status
response.body
response body
response.headers
response headers
uuid
mock's uuid
IBM MQ mocking
For mocking IBM MQ you have to find and download
com.ibm.mq.allclient.jar
jms.jar
and put it in /lib folder or another.
You can find ibm libs in fix pack Fix Pack 8.0.0.5 for WebSphere MQ v8 or copy it from installed IBM product.
You have to put these libs in application classpath for atf-application and for atf-wiremock.