[ROBOT] ADD HTTPS based BULKPM test cases that use helm based components
[testsuite.git] / robot / assets / helm / pm-https-server / README.md
1 # PM HTTPS Server
2
3 # How to deploy on lab
4
5 1. Copy files from helm/pm-https-server to lab
6
7      `scp -i <path to key file .pem> -r <path to>/pm-https-server ubuntu@<RKE_NODE_IP>:<remote path to>/pm-https-server `
8 2. Log into the RKE
9
10 3. Install chart on your lab
11
12     `helm install pm-https-server ./pm-https-server`
13
14 # Checking if everything is working properly
15
16 1. Find service on which your application runs
17
18     `kubectl get service | grep pm-https-server`
19
20 2. If service is running try to connect to server
21
22    `curl -u demo:demo123456! <http://WORKER_IP:PM_HTTPS_SERVER_PORT>`
23
24     if everything is working properly you should get response like below
25
26     `<html><body><h1>It works!</h1></body></html>`
27
28 3. If step 2 ends with success try to upload file
29
30     `curl -F "uploaded_file=@./resources/E_VES_bulkPM_IF_3GPP_3_example_1.xml.gz" -u demo:demo123456! http://WORKER_IP:PM_HTTPS_SERVER_PORT/upload.php`
31
32     When file will be successfully uploaded you should see information like this:
33
34      `The file E_VES_bulkPM_IF_3GPP_3_example_1.xml.gz has been uploaded`