Commit 44126792 authored by Yann Garcia's avatar Yann Garcia
Browse files

Fixed issues #21

parent 7d376288
...@@ -24,7 +24,10 @@ then ...@@ -24,7 +24,10 @@ then
fi fi
fi fi
rm ../logs/merged.log.* for i in `ls ../logs/merged.*.log`
do
rm -f $i
done
for i in $(seq 1 1 $COUNTER) for i in $(seq 1 1 $COUNTER)
do do
...@@ -39,7 +42,7 @@ do ...@@ -39,7 +42,7 @@ do
done done
sleep 1 sleep 1
mv ../logs/merged.log ../logs/merged.log.`date +'%Y%m%d%S'` mv ../logs/merged.log ../logs/merged.`date +'%Y%m%d%S'`.log
done done
exit 0 exit 0
......
...@@ -63,7 +63,7 @@ module AtsMec_AppEnablementAPI_TestCases { ...@@ -63,7 +63,7 @@ module AtsMec_AppEnablementAPI_TestCases {
httpPort.send( httpPort.send(
m_http_request( m_http_request(
m_http_request_get( m_http_request_get(
"/" & PICS_ROOT_API & PX_MEC_SVC_MGMT_APPS_URI & oct2char(unichar2oct(PX_APP_INSTANCE_ID, "UTF-8")) & "/services", "/" & PICS_ROOT_API & PICS_ROOT_API & PX_MEC_SVC_MGMT_APPS_URI & "/" & oct2char(unichar2oct(PX_APP_INSTANCE_ID, "UTF-8")) & "/services",
v_headers v_headers
) )
) )
...@@ -119,7 +119,7 @@ module AtsMec_AppEnablementAPI_TestCases { ...@@ -119,7 +119,7 @@ module AtsMec_AppEnablementAPI_TestCases {
httpPort.send( httpPort.send(
m_http_request( m_http_request(
m_http_request_get( m_http_request_get(
"/" & PICS_ROOT_API & PX_MEC_SVC_MGMT_APPS_URI & oct2char(unichar2oct(PX_APP_INSTANCE_ID, "UTF-8")) & "/services?instance_id=" & oct2char(unichar2oct(PX_NON_EXISTENT_APP_INSTANCE_ID)), "/" & PICS_ROOT_API & PICS_ROOT_API & PX_MEC_SVC_MGMT_APPS_URI & "/" & oct2char(unichar2oct(PX_APP_INSTANCE_ID, "UTF-8")) & "/services?instance_id=" & oct2char(unichar2oct(PX_NON_EXISTENT_APP_INSTANCE_ID)),
v_headers v_headers
) )
) )
...@@ -174,7 +174,7 @@ module AtsMec_AppEnablementAPI_TestCases { ...@@ -174,7 +174,7 @@ module AtsMec_AppEnablementAPI_TestCases {
httpPort.send( httpPort.send(
m_http_request( m_http_request(
m_http_request_post( m_http_request_post(
"/" & PICS_ROOT_API & PX_MEC_SVC_MGMT_APPS_URI & oct2char(unichar2oct(PX_APP_INSTANCE_ID, "UTF-8")) & "/services", "/" & PICS_ROOT_API & PICS_ROOT_API & PX_MEC_SVC_MGMT_APPS_URI & "/" & oct2char(unichar2oct(PX_APP_INSTANCE_ID, "UTF-8")) & "/services",
v_headers, v_headers,
m_http_message_body_json( m_http_message_body_json(
m_body_json_service_info( m_body_json_service_info(
...@@ -261,7 +261,7 @@ module AtsMec_AppEnablementAPI_TestCases { ...@@ -261,7 +261,7 @@ module AtsMec_AppEnablementAPI_TestCases {
httpPort.send( httpPort.send(
m_http_request( m_http_request(
m_http_request_post( m_http_request_post(
"/" & PICS_ROOT_API & PX_MEC_SVC_MGMT_APPS_URI & oct2char(unichar2oct(PX_APP_INSTANCE_ID, "UTF-8")) & "/services", "/" & PICS_ROOT_API & PICS_ROOT_API & PX_MEC_SVC_MGMT_APPS_URI & "/" & oct2char(unichar2oct(PX_APP_INSTANCE_ID, "UTF-8")) & "/services",
v_headers, v_headers,
m_http_message_body_json( m_http_message_body_json(
m_body_json_service_info( m_body_json_service_info(
...@@ -322,7 +322,7 @@ module AtsMec_AppEnablementAPI_TestCases { ...@@ -322,7 +322,7 @@ module AtsMec_AppEnablementAPI_TestCases {
httpPort.send( httpPort.send(
m_http_request( m_http_request(
m_http_request_post( m_http_request_post(
"/" & PICS_ROOT_API & PX_MEC_SVC_MGMT_APPS_URI & oct2char(unichar2oct(PX_NON_EXISTENT_APP_INSTANCE_ID, "UTF-8")) & "/services", "/" & PICS_ROOT_API & PICS_ROOT_API & PX_MEC_SVC_MGMT_APPS_URI & "/" & oct2char(unichar2oct(PX_NON_EXISTENT_APP_INSTANCE_ID, "UTF-8")) & "/services",
v_headers, v_headers,
m_http_message_body_json( m_http_message_body_json(
m_body_json_service_info( m_body_json_service_info(
...@@ -383,7 +383,7 @@ module AtsMec_AppEnablementAPI_TestCases { ...@@ -383,7 +383,7 @@ module AtsMec_AppEnablementAPI_TestCases {
httpPort.send( httpPort.send(
m_http_request( m_http_request(
m_http_request_get( m_http_request_get(
"/" & PICS_ROOT_API & PX_MEC_SVC_MGMT_APPS_URI & oct2char(unichar2oct(PX_APP_INSTANCE_ID, "UTF-8")) & "/services/" & oct2char(unichar2oct(PX_SERVICE_ID, "UTF-8")), "/" & PICS_ROOT_API & PICS_ROOT_API & PX_MEC_SVC_MGMT_APPS_URI & "/" & oct2char(unichar2oct(PX_APP_INSTANCE_ID, "UTF-8")) & "/services/" & oct2char(unichar2oct(PX_SERVICE_ID, "UTF-8")),
v_headers v_headers
) )
) )
...@@ -442,7 +442,7 @@ module AtsMec_AppEnablementAPI_TestCases { ...@@ -442,7 +442,7 @@ module AtsMec_AppEnablementAPI_TestCases {
httpPort.send( httpPort.send(
m_http_request( m_http_request(
m_http_request_get( m_http_request_get(
"/" & PICS_ROOT_API & PX_MEC_SVC_MGMT_APPS_URI & oct2char(unichar2oct(PX_APP_INSTANCE_ID, "UTF-8")) & "/services/" & oct2char(unichar2oct(PX_NON_EXISTENT_SERVICE_ID, "UTF-8")), "/" & PICS_ROOT_API & PICS_ROOT_API & PX_MEC_SVC_MGMT_APPS_URI & "/" & oct2char(unichar2oct(PX_APP_INSTANCE_ID, "UTF-8")) & "/services/" & oct2char(unichar2oct(PX_NON_EXISTENT_SERVICE_ID, "UTF-8")),
v_headers v_headers
) )
) )
...@@ -497,7 +497,7 @@ module AtsMec_AppEnablementAPI_TestCases { ...@@ -497,7 +497,7 @@ module AtsMec_AppEnablementAPI_TestCases {
httpPort.send( httpPort.send(
m_http_request( m_http_request(
m_http_request_put( m_http_request_put(
"/" & PICS_ROOT_API & PX_MEC_SVC_MGMT_APPS_URI & oct2char(unichar2oct(PX_APP_INSTANCE_ID, "UTF-8")) & "/services/" & oct2char(unichar2oct(PX_SERVICE_ID, "UTF-8")), "/" & PICS_ROOT_API & PICS_ROOT_API & PX_MEC_SVC_MGMT_APPS_URI & "/" & oct2char(unichar2oct(PX_APP_INSTANCE_ID, "UTF-8")) & "/services/" & oct2char(unichar2oct(PX_SERVICE_ID, "UTF-8")),
v_headers, v_headers,
m_http_message_body_json( m_http_message_body_json(
m_body_json_service_info( m_body_json_service_info(
...@@ -566,7 +566,7 @@ module AtsMec_AppEnablementAPI_TestCases { ...@@ -566,7 +566,7 @@ module AtsMec_AppEnablementAPI_TestCases {
httpPort.send( httpPort.send(
m_http_request( m_http_request(
m_http_request_put( m_http_request_put(
"/" & PICS_ROOT_API & PX_MEC_SVC_MGMT_APPS_URI & oct2char(unichar2oct(PX_APP_INSTANCE_ID, "UTF-8")) & "/services/" & oct2char(unichar2oct(PX_SERVICE_ID, "UTF-8")), "/" & PICS_ROOT_API & PICS_ROOT_API & PX_MEC_SVC_MGMT_APPS_URI & "/" & oct2char(unichar2oct(PX_APP_INSTANCE_ID, "UTF-8")) & "/services/" & oct2char(unichar2oct(PX_SERVICE_ID, "UTF-8")),
v_headers, v_headers,
m_http_message_body_json( m_http_message_body_json(
m_body_json_service_info( m_body_json_service_info(
...@@ -629,7 +629,7 @@ module AtsMec_AppEnablementAPI_TestCases { ...@@ -629,7 +629,7 @@ module AtsMec_AppEnablementAPI_TestCases {
httpPort.send( httpPort.send(
m_http_request( m_http_request(
m_http_request_put( m_http_request_put(
"/" & PICS_ROOT_API & PX_MEC_SVC_MGMT_APPS_URI & oct2char(unichar2oct(PX_APP_INSTANCE_ID, "UTF-8")) & "/services/" & oct2char(unichar2oct(PX_NON_EXISTENT_SERVICE_ID, "UTF-8")), "/" & PICS_ROOT_API & PICS_ROOT_API & PX_MEC_SVC_MGMT_APPS_URI & "/" & oct2char(unichar2oct(PX_APP_INSTANCE_ID, "UTF-8")) & "/services/" & oct2char(unichar2oct(PX_NON_EXISTENT_SERVICE_ID, "UTF-8")),
v_headers, v_headers,
m_http_message_body_json( m_http_message_body_json(
m_body_json_service_info( m_body_json_service_info(
...@@ -692,7 +692,7 @@ module AtsMec_AppEnablementAPI_TestCases { ...@@ -692,7 +692,7 @@ module AtsMec_AppEnablementAPI_TestCases {
httpPort.send( httpPort.send(
m_http_request( m_http_request(
m_http_request_put( m_http_request_put(
"/" & PICS_ROOT_API & PX_MEC_SVC_MGMT_APPS_URI & oct2char(unichar2oct(PX_APP_INSTANCE_ID, "UTF-8")) & "/services/" & oct2char(unichar2oct(PX_SERVICE_ID, "UTF-8")), "/" & PICS_ROOT_API & PICS_ROOT_API & PX_MEC_SVC_MGMT_APPS_URI & "/" & oct2char(unichar2oct(PX_APP_INSTANCE_ID, "UTF-8")) & "/services/" & oct2char(unichar2oct(PX_SERVICE_ID, "UTF-8")),
v_headers, v_headers,
m_http_message_body_json( m_http_message_body_json(
m_body_json_service_info( m_body_json_service_info(
...@@ -818,7 +818,7 @@ module AtsMec_AppEnablementAPI_TestCases { ...@@ -818,7 +818,7 @@ module AtsMec_AppEnablementAPI_TestCases {
httpPort.send( httpPort.send(
m_http_request( m_http_request(
m_http_request_get( m_http_request_get(
"/" & PICS_ROOT_API & PX_MEC_SVC_MGMT_APPS_URI & oct2char(unichar2oct(PX_NON_EXISTENT_APP_INSTANCE_ID, "UTF-8")) & "/subscriptions", "/" & PICS_ROOT_API & PICS_ROOT_API & PX_MEC_SVC_MGMT_APPS_URI & "/" & oct2char(unichar2oct(PX_NON_EXISTENT_APP_INSTANCE_ID, "UTF-8")) & "/subscriptions",
v_headers v_headers
) )
) )
...@@ -1905,7 +1905,7 @@ module AtsMec_AppEnablementAPI_TestCases { ...@@ -1905,7 +1905,7 @@ module AtsMec_AppEnablementAPI_TestCases {
httpPort.send( httpPort.send(
m_http_request( m_http_request(
m_http_request_get( m_http_request_get(
"/" & PICS_ROOT_API & PX_MEC_SVC_MGMT_APPS_URI & oct2char(unichar2oct(PX_APP_INSTANCE_ID, "UTF-8")) & "/subscriptions", "/" & PICS_ROOT_API & PICS_ROOT_API & PX_MEC_SVC_MGMT_APPS_URI & "/" & oct2char(unichar2oct(PX_APP_INSTANCE_ID, "UTF-8")) & "/subscriptions",
v_headers v_headers
) )
) )
...@@ -1961,7 +1961,7 @@ module AtsMec_AppEnablementAPI_TestCases { ...@@ -1961,7 +1961,7 @@ module AtsMec_AppEnablementAPI_TestCases {
httpPort.send( httpPort.send(
m_http_request( m_http_request(
m_http_request_get( m_http_request_get(
"/" & PICS_ROOT_API & PX_MEC_SVC_MGMT_APPS_URI & oct2char(unichar2oct(PX_NON_EXISTENT_APP_INSTANCE_ID, "UTF-8")) & "/subscriptions", "/" & PICS_ROOT_API & PICS_ROOT_API & PX_MEC_SVC_MGMT_APPS_URI & "/" & oct2char(unichar2oct(PX_NON_EXISTENT_APP_INSTANCE_ID, "UTF-8")) & "/subscriptions",
v_headers v_headers
) )
) )
...@@ -2016,7 +2016,7 @@ module AtsMec_AppEnablementAPI_TestCases { ...@@ -2016,7 +2016,7 @@ module AtsMec_AppEnablementAPI_TestCases {
httpPort.send( httpPort.send(
m_http_request( m_http_request(
m_http_request_post( m_http_request_post(
"/" & PICS_ROOT_API & PX_MEC_SVC_MGMT_APPS_URI & oct2char(unichar2oct(PX_APP_INSTANCE_ID, "UTF-8")) & "/subscriptions", "/" & PICS_ROOT_API & PICS_ROOT_API & PX_MEC_SVC_MGMT_APPS_URI & "/" & oct2char(unichar2oct(PX_APP_INSTANCE_ID, "UTF-8")) & "/subscriptions",
v_headers, v_headers,
m_http_message_body_json( m_http_message_body_json(
m_body_json_srv_avail_notif_subscription( m_body_json_srv_avail_notif_subscription(
...@@ -2087,7 +2087,7 @@ module AtsMec_AppEnablementAPI_TestCases { ...@@ -2087,7 +2087,7 @@ module AtsMec_AppEnablementAPI_TestCases {
httpPort.send( httpPort.send(
m_http_request( m_http_request(
m_http_request_post( m_http_request_post(
"/" & PICS_ROOT_API & PX_MEC_SVC_MGMT_APPS_URI & oct2char(unichar2oct(PX_APP_INSTANCE_ID, "UTF-8")) & "/subscriptions", "/" & PICS_ROOT_API & PICS_ROOT_API & PX_MEC_SVC_MGMT_APPS_URI & "/" & oct2char(unichar2oct(PX_APP_INSTANCE_ID, "UTF-8")) & "/subscriptions",
v_headers, v_headers,
m_http_message_body_json( m_http_message_body_json(
m_body_json_srv_avail_notif_subscription( m_body_json_srv_avail_notif_subscription(
...@@ -2148,7 +2148,7 @@ module AtsMec_AppEnablementAPI_TestCases { ...@@ -2148,7 +2148,7 @@ module AtsMec_AppEnablementAPI_TestCases {
httpPort.send( httpPort.send(
m_http_request( m_http_request(
m_http_request_get( m_http_request_get(
"/" & PICS_ROOT_API & PX_MEC_SVC_MGMT_APPS_URI & oct2char(unichar2oct(PX_APP_INSTANCE_ID, "UTF-8")) & "/subscriptions/" & oct2char(unichar2oct(PX_SUBSCRIPTION_ID, "UTF-8")), "/" & PICS_ROOT_API & PICS_ROOT_API & PX_MEC_SVC_MGMT_APPS_URI & "/" & oct2char(unichar2oct(PX_APP_INSTANCE_ID, "UTF-8")) & "/subscriptions/" & oct2char(unichar2oct(PX_SUBSCRIPTION_ID, "UTF-8")),
v_headers v_headers
) )
) )
...@@ -2206,7 +2206,7 @@ module AtsMec_AppEnablementAPI_TestCases { ...@@ -2206,7 +2206,7 @@ module AtsMec_AppEnablementAPI_TestCases {
httpPort.send( httpPort.send(
m_http_request( m_http_request(
m_http_request_get( m_http_request_get(
"/" & PICS_ROOT_API & PX_MEC_SVC_MGMT_APPS_URI & oct2char(unichar2oct(PX_APP_INSTANCE_ID, "UTF-8")) & "/subscriptions/" & oct2char(unichar2oct(PX_NON_EXISTENT_SUBSCRIPTION_ID, "UTF-8")), "/" & PICS_ROOT_API & PICS_ROOT_API & PX_MEC_SVC_MGMT_APPS_URI & "/" & oct2char(unichar2oct(PX_APP_INSTANCE_ID, "UTF-8")) & "/subscriptions/" & oct2char(unichar2oct(PX_NON_EXISTENT_SUBSCRIPTION_ID, "UTF-8")),
v_headers v_headers
) )
) )
...@@ -2260,7 +2260,7 @@ module AtsMec_AppEnablementAPI_TestCases { ...@@ -2260,7 +2260,7 @@ module AtsMec_AppEnablementAPI_TestCases {
httpPort.send( httpPort.send(
m_http_request( m_http_request(
m_http_request_delete( m_http_request_delete(
"/" & PICS_ROOT_API & PX_MEC_SVC_MGMT_APPS_URI & oct2char(unichar2oct(PX_APP_INSTANCE_ID, "UTF-8")) & "/subscriptions/" & oct2char(unichar2oct(PX_SUBSCRIPTION_ID, "UTF-8")), "/" & PICS_ROOT_API & PICS_ROOT_API & PX_MEC_SVC_MGMT_APPS_URI & "/" & oct2char(unichar2oct(PX_APP_INSTANCE_ID, "UTF-8")) & "/subscriptions/" & oct2char(unichar2oct(PX_SUBSCRIPTION_ID, "UTF-8")),
v_headers v_headers
) )
) )
...@@ -2315,7 +2315,7 @@ module AtsMec_AppEnablementAPI_TestCases { ...@@ -2315,7 +2315,7 @@ module AtsMec_AppEnablementAPI_TestCases {
httpPort.send( httpPort.send(
m_http_request( m_http_request(
m_http_request_delete( m_http_request_delete(
"/" & PICS_ROOT_API & PX_MEC_SVC_MGMT_APPS_URI & oct2char(unichar2oct(PX_NON_EXISTENT_APP_INSTANCE_ID, "UTF-8")) & "/subscriptions/" & oct2char(unichar2oct(PX_SUBSCRIPTION_ID, "UTF-8")), "/" & PICS_ROOT_API & PICS_ROOT_API & PX_MEC_SVC_MGMT_APPS_URI & "/" & oct2char(unichar2oct(PX_NON_EXISTENT_APP_INSTANCE_ID, "UTF-8")) & "/subscriptions/" & oct2char(unichar2oct(PX_SUBSCRIPTION_ID, "UTF-8")),
v_headers v_headers
) )
) )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment