Generated by TestNG with ReportNG at 22:42 PDT on Sunday 19 September 2021
root@f29ef40080b5 / Java 11.0.8 (Ubuntu) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Node and item manipulation using REST API - XML - #4229, #4728

Suites · Log Output

Test duration : 10.145s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.093s
2021-09-19 22:56:01 |

2021-09-19 22:56:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-19 22:56:01 | ------------------------------------

2021-09-19 22:56:01 | [Mutex] waiting for: [configured:node:node-5d867e36-1d3b-4f69-8662-2eb8cdcd9fcb:node-20273311-1f65-4651-ba31-c44b903b6ab9]

2021-09-19 22:56:01 | [Mutex] received everything.

2021-09-19 22:56:01 | [Mutex] isItemNotified: configured:node:node-5d867e36-1d3b-4f69-8662-2eb8cdcd9fcb:node-20273311-1f65-4651-ba31-c44b903b6ab9 :: true

2021-09-19 22:56:02 | [Mutex] waiting for: [received:nodes:9bbf963a-0cb8-484c-a085-afe40a3be1f1:localhost]

2021-09-19 22:56:02 | [Mutex] received everything.

2021-09-19 22:56:02 | [Mutex] isItemNotified: received:node:9bbf963a-0cb8-484c-a085-afe40a3be1f1:localhost:node-5d867e36-1d3b-4f69-8662-2eb8cdcd9fcb:Node 5d867e36-1d3b-4f69-8662-2eb8cdcd9fcb :: true

2021-09-19 22:56:02 | [Mutex] waiting for: [received:nodes:76bae169-4622-4cd9-b68d-d2e64665e94a:localhost]

2021-09-19 22:56:02 | [Mutex] waiting for: [received:nodes:76bae169-4622-4cd9-b68d-d2e64665e94a:localhost]

2021-09-19 22:56:02 | [Mutex] received everything.

2021-09-19 22:56:02 | [Mutex] isItemNotified: received:node:76bae169-4622-4cd9-b68d-d2e64665e94a:localhost:node-5d867e36-1d3b-4f69-8662-2eb8cdcd9fcb:Node 5d867e36-1d3b-4f69-8662-2eb8cdcd9fcb :: false

createNodes 1.506s
2021-09-19 22:55:58 |

2021-09-19 22:55:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-19 22:55:58 | ------------------------------------

2021-09-19 22:55:58 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-5d867e36-1d3b-4f69-8662-2eb8cdcd9fcb</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 5d867e36-1d3b-4f69-8662-2eb8cdcd9fcb</title></pubsub></data>

2021-09-19 22:55:59 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-09-19 22:56:00 | [Mutex] waiting for: [received:nodes:2bd7622c-905a-4912-851e-a773e0a66711:localhost]

2021-09-19 22:56:00 | [Mutex] received everything.

2021-09-19 22:56:00 | [Mutex] isItemNotified: received:node:2bd7622c-905a-4912-851e-a773e0a66711:localhost:node-5d867e36-1d3b-4f69-8662-2eb8cdcd9fcb:Node 5d867e36-1d3b-4f69-8662-2eb8cdcd9fcb :: true

createSubnodes 1.029s
2021-09-19 22:56:00 |

2021-09-19 22:56:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-19 22:56:00 | ------------------------------------

2021-09-19 22:56:00 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-20273311-1f65-4651-ba31-c44b903b6ab9</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 20273311-1f65-4651-ba31-c44b903b6ab9</title></pubsub></data>

2021-09-19 22:56:00 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-09-19 22:56:01 | [Mutex] waiting for: [received:nodes:9479034f-56b5-403a-a855-fada3dc6d3e3:localhost]

2021-09-19 22:56:01 | [Mutex] received everything.

2021-09-19 22:56:01 | [Mutex] isItemNotified: received:node:9479034f-56b5-403a-a855-fada3dc6d3e3:localhost:node-20273311-1f65-4651-ba31-c44b903b6ab9:Node 20273311-1f65-4651-ba31-c44b903b6ab9 :: true

deleteNodes 1.017s
2021-09-19 22:56:06 |

2021-09-19 22:56:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-19 22:56:06 | ------------------------------------

2021-09-19 22:56:06 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-20273311-1f65-4651-ba31-c44b903b6ab9</node></data>

2021-09-19 22:56:06 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-09-19 22:56:07 | [Mutex] waiting for: [received:nodes:4ceb4e25-0883-4ce9-8826-36c9e539abb4:localhost]

2021-09-19 22:56:07 | [Mutex] received everything.

2021-09-19 22:56:07 | [Mutex] isItemNotified: received:node:4ceb4e25-0883-4ce9-8826-36c9e539abb4:localhost:node-20273311-1f65-4651-ba31-c44b903b6ab9:Node 20273311-1f65-4651-ba31-c44b903b6ab9 :: false

deleteSubnodes 1.143s
2021-09-19 22:56:05 |

2021-09-19 22:56:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-19 22:56:05 | ------------------------------------

2021-09-19 22:56:05 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-5d867e36-1d3b-4f69-8662-2eb8cdcd9fcb</node></data>

2021-09-19 22:56:05 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-09-19 22:56:06 | [Mutex] waiting for: [received:nodes:e494a218-92b1-4216-a151-334441d3f38d:localhost]

2021-09-19 22:56:06 | [Mutex] received everything.

2021-09-19 22:56:06 | [Mutex] isItemNotified: received:node:e494a218-92b1-4216-a151-334441d3f38d:localhost:node-5d867e36-1d3b-4f69-8662-2eb8cdcd9fcb:Node 5d867e36-1d3b-4f69-8662-2eb8cdcd9fcb :: false

2021-09-19 22:56:06 | [Mutex] waiting for: [received:nodes:ef4a6575-9e6c-4548-8c66-9a98166f8677:localhost]

2021-09-19 22:56:06 | [Mutex] received everything.

2021-09-19 22:56:06 | [Mutex] isItemNotified: received:node:ef4a6575-9e6c-4548-8c66-9a98166f8677:localhost:node-5d867e36-1d3b-4f69-8662-2eb8cdcd9fcb:Node 5d867e36-1d3b-4f69-8662-2eb8cdcd9fcb :: false

publishItemsToNodes 0.374s
2021-09-19 22:56:03 |

2021-09-19 22:56:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-19 22:56:03 | ------------------------------------

2021-09-19 22:56:03 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-5d867e36-1d3b-4f69-8662-2eb8cdcd9fcb</node><item-id>item-38abc865-02ab-41c7-8dd9-486e04bd3992</item-id><entry><test>item-38abc865-02ab-41c7-8dd9-486e04bd3992</test></entry></data>

2021-09-19 22:56:03 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-38abc865-02ab-41c7-8dd9-486e04bd3992</value></item-id></result>

2021-09-19 22:56:03 | [Mutex] received everything.

2021-09-19 22:56:03 | [Mutex] isItemNotified: published:item:notifieditem-38abc865-02ab-41c7-8dd9-486e04bd3992:admin@test-domain.com :: true

retractItemsFromNodes 0.203s
2021-09-19 22:56:04 |

2021-09-19 22:56:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-19 22:56:04 | ------------------------------------

2021-09-19 22:56:04 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-5d867e36-1d3b-4f69-8662-2eb8cdcd9fcb</node><item-id>item-38abc865-02ab-41c7-8dd9-486e04bd3992</item-id></data>

2021-09-19 22:56:04 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-38abc865-02ab-41c7-8dd9-486e04bd3992</value></item-id></result>

2021-09-19 22:56:04 | [Mutex] received everything.

2021-09-19 22:56:04 | [Mutex] isItemNotified: retracted:item:notifieditem-38abc865-02ab-41c7-8dd9-486e04bd3992:admin@test-domain.com :: true

retrieveItemsFromNodes 0.296s
2021-09-19 22:56:03 |

2021-09-19 22:56:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-19 22:56:03 | ------------------------------------

2021-09-19 22:56:03 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-5d867e36-1d3b-4f69-8662-2eb8cdcd9fcb</node><item-id>item-38abc865-02ab-41c7-8dd9-486e04bd3992</item-id></data>

2021-09-19 22:56:04 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node type="text-single" label="Node"><value>node-5d867e36-1d3b-4f69-8662-2eb8cdcd9fcb</value></node><item-id type="text-single" label="Item ID"><value>item-38abc865-02ab-41c7-8dd9-486e04bd3992</value></item-id><item type="text-multi" label="Item"><value><item id="item-38abc865-02ab-41c7-8dd9-486e04bd3992"><test>item-38abc865-02ab-41c7-8dd9-486e04bd3992</test></item></value></item></result>

2021-09-19 22:56:04 | [Mutex] notify: [retrieved:item:item-38abc865-02ab-41c7-8dd9-486e04bd3992:payload-matches:true:localhost]

2021-09-19 22:56:04 | [Mutex] received everything.

2021-09-19 22:56:04 | [Mutex] isItemNotified: retrieved:item:item-38abc865-02ab-41c7-8dd9-486e04bd3992:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2021-09-19 22:56:04 |

2021-09-19 22:56:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-19 22:56:04 | ------------------------------------

2021-09-19 22:56:04 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-09-19 22:56:04 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-20273311-1f65-4651-ba31-c44b903b6ab9</value><value>test</value><value>node-5d867e36-1d3b-4f69-8662-2eb8cdcd9fcb</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-09-19 22:56:04 |

2021-09-19 22:56:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-19 22:56:04 | ------------------------------------

2021-09-19 22:56:04 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-5d867e36-1d3b-4f69-8662-2eb8cdcd9fcb)</node-pattern></data>

2021-09-19 22:56:04 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.198s
2021-09-19 22:56:02 |

2021-09-19 22:56:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-19 22:56:02 | ------------------------------------

2021-09-19 22:56:02 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-5d867e36-1d3b-4f69-8662-2eb8cdcd9fcb</node><jids><value>admin@test-domain.com</value></jids></data>

2021-09-19 22:56:02 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.351s
2021-09-19 22:56:04 |

2021-09-19 22:56:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-19 22:56:04 | ------------------------------------

2021-09-19 22:56:04 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-5d867e36-1d3b-4f69-8662-2eb8cdcd9fcb</node><jids><value>admin@test-domain.com</value></jids></data>

2021-09-19 22:56:04 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>