https://docs.spring.io/spring-boot/docs/current/reference/html/howto-traditional-deployment.html
The mechanism is based on Spring boot properties
https://docs.spring.io/spring-boot/docs/current/reference/html/howto-traditional-deployment.html
The mechanism is based on Spring boot properties
To send a request via the sandbox, you can use pm.sendRequest.
pm.test("Status code is 200", function () {
pm.sendRequest('https://postman-echo.com/get', function (err, res) {
pm.expect(err).to.not.be.ok;
pm.expect(res).to.have.property('code', 200);
pm.expect(res).to.have.property('status', 'OK');
});
});
| #!/usr/bin/env groovy | |
| /** | |
| * notify slack and set message based on build status | |
| */ | |
| import net.sf.json.JSONArray; | |
| import net.sf.json.JSONObject; | |
| import hudson.tasks.test.AbstractTestResultAction; | |
| import hudson.model.Actionable; |
| #!/bin/sh | |
| # check for where the latest version of IDEA is installed | |
| IDEA=`ls -1d /Applications/IntelliJ\ * | tail -n1` | |
| wd=`pwd` | |
| # were we given a directory? | |
| if [ -d "$1" ]; then | |
| # echo "checking for things in the working dir given" | |
| wd=`ls -1d "$1" | head -n1` |
Download Postman
HTTP status codes (Click to read more)