Results: 1022
apt install
Installs
Git
on the server
sudo apt install git
Installs Nginx server
sudo apt install nginx
Installs MySQL Server
sudo apt install mysql-server
Installs php-fpm and php-mysql
sudo apt install php-fpm php-mysql
Installs additional necessary packages for PHP
sudo apt install php-pdo php-common php-dom php-mbstring php-gd php-json php-soap php-xml php-cli php-ldap php-zip
apt update
The command gets information from the Internet about updated packages
sudo apt update
create directory
Creates
testdirectory
directory to the location that the console is pointing at
sudo mkdir testdirectory
Script execution levels
Script execution levels ordered by execution time
Collection Pre
Folder Pre
Request Pre
HERE GOES REQUEST
Collection Test
Folder Test
Request Test
variable levels and priorities
Variable levels list (ordered by priority - the highest at the top):
Local
Data
Environment 
Collection 
Global
Gives permission to
services_cron/asb/log
to create files and write logs
sudo chmod -R 757 /var/www/html/services_cron/asb/log
check response header value
Tests that the header
Content-Type
is equal to
application/json; charset=utf-8
pm.test("Content-Type is application/json", function () {
    pm.response.to.be.header("Content-Type", "application/json; charset=utf-8");
});
check if the response includes certain header
Tests that the response includes header:
Content-Type
pm.test("Content-Type is application/json", function () {
    pm.response.to.have.header("Content-Type");
});
check if the property exists in the response JSON
Tests that the property
status
exists in the response JSON
pm.test('Has "status" property', function() {
    var jsonData = pm.response.json();
    pm.expect(jsonData).to.have.property('status');
});
The response JSON
{
    "status": {
        "code": 400,
        "text": "Mobile Number is required"
    }
}
check the response HTTP status code
Tests that the response HTTP
status code
is equal to
400
pm.test("Status code is 400", function () {
    pm.response.to.have.status(400);
});
Results: 1022