| == Camel Quarkus ServiceNow Integration Tests |
| |
| By default the ServiceNow integration tests use WireMock to stub the API interactions. |
| |
| To run the `camel-quarkus-servicenow` integration tests, you will need a https://servicenow.com[ServiceNow] instance. |
| |
| Then set the following environment variables: |
| |
| [source,shell] |
| ---- |
| export SERVICENOW_INSTANCE=my-instance |
| export SERVICENOW_USERNAME=my-username |
| export SERVICENOW_PASSWORD=my-password |
| ---- |
| |
| If the WireMock stub recordings need updating, then remove the existing files from `src/test/resources/mappings` and run tests with either: |
| |
| System property `-Dwiremock.record=true` |
| |
| Or |
| |
| Set environment variable `WIREMOCK_RECORD=true` |
| |
| To regenerate the ServiceNow DTO model classes, run `mvn clean generate-sources -Pgenerate-servicenow-model`. |