Generated by TestNG with ReportNG at 22:52 PDT on Thursday 18 March 2021
root@43fec6d4badf / 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.236s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.132s
2021-03-18 23:09:03 |

2021-03-18 23:09:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-18 23:09:03 | ------------------------------------

2021-03-18 23:09:03 | [Mutex] waiting for: [configured:node:node-a1563c9e-d527-4a91-aa35-df635c1bda2c:node-da0ffe53-54b6-461f-b647-e740743b7ec1]

2021-03-18 23:09:03 | [Mutex] received everything.

2021-03-18 23:09:03 | [Mutex] isItemNotified: configured:node:node-a1563c9e-d527-4a91-aa35-df635c1bda2c:node-da0ffe53-54b6-461f-b647-e740743b7ec1 :: true

2021-03-18 23:09:04 | [Mutex] waiting for: [received:nodes:c8d6bc8b-0648-4e94-97e0-af06706b4a02:localhost]

2021-03-18 23:09:04 | [Mutex] received everything.

2021-03-18 23:09:04 | [Mutex] isItemNotified: received:node:c8d6bc8b-0648-4e94-97e0-af06706b4a02:localhost:node-a1563c9e-d527-4a91-aa35-df635c1bda2c:Node a1563c9e-d527-4a91-aa35-df635c1bda2c :: true

2021-03-18 23:09:04 | [Mutex] waiting for: [received:nodes:da36bdcb-1881-42ad-b24f-192eab8abf7f:localhost]

2021-03-18 23:09:04 | [Mutex] received everything.

2021-03-18 23:09:04 | [Mutex] isItemNotified: received:node:da36bdcb-1881-42ad-b24f-192eab8abf7f:localhost:node-a1563c9e-d527-4a91-aa35-df635c1bda2c:Node a1563c9e-d527-4a91-aa35-df635c1bda2c :: false

createNodes 1.494s
2021-03-18 23:09:00 |

2021-03-18 23:09:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-18 23:09:00 | ------------------------------------

2021-03-18 23:09:00 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a1563c9e-d527-4a91-aa35-df635c1bda2c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node a1563c9e-d527-4a91-aa35-df635c1bda2c</title></pubsub></data>

2021-03-18 23:09:01 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-18 23:09:02 | [Mutex] waiting for: [received:nodes:1344a417-bf6c-4fa9-9a4a-7295ae7257e8:localhost]

2021-03-18 23:09:02 | [Mutex] received everything.

2021-03-18 23:09:02 | [Mutex] isItemNotified: received:node:1344a417-bf6c-4fa9-9a4a-7295ae7257e8:localhost:node-a1563c9e-d527-4a91-aa35-df635c1bda2c:Node a1563c9e-d527-4a91-aa35-df635c1bda2c :: true

createSubnodes 1.027s
2021-03-18 23:09:02 |

2021-03-18 23:09:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-18 23:09:02 | ------------------------------------

2021-03-18 23:09:02 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-da0ffe53-54b6-461f-b647-e740743b7ec1</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node da0ffe53-54b6-461f-b647-e740743b7ec1</title></pubsub></data>

2021-03-18 23:09:02 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-18 23:09:03 | [Mutex] waiting for: [received:nodes:9cd20bc7-16bb-4557-b097-e513ee22f65e:localhost]

2021-03-18 23:09:03 | [Mutex] received everything.

2021-03-18 23:09:03 | [Mutex] isItemNotified: received:node:9cd20bc7-16bb-4557-b097-e513ee22f65e:localhost:node-da0ffe53-54b6-461f-b647-e740743b7ec1:Node da0ffe53-54b6-461f-b647-e740743b7ec1 :: true

deleteNodes 1.020s
2021-03-18 23:09:08 |

2021-03-18 23:09:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-18 23:09:08 | ------------------------------------

2021-03-18 23:09:08 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-da0ffe53-54b6-461f-b647-e740743b7ec1</node></data>

2021-03-18 23:09:08 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-18 23:09:09 | [Mutex] waiting for: [received:nodes:286235df-eb54-43ea-903b-dbb2836e3fdd:localhost]

2021-03-18 23:09:09 | [Mutex] waiting for: [received:nodes:286235df-eb54-43ea-903b-dbb2836e3fdd:localhost]

2021-03-18 23:09:09 | [Mutex] received everything.

2021-03-18 23:09:09 | [Mutex] isItemNotified: received:node:286235df-eb54-43ea-903b-dbb2836e3fdd:localhost:node-da0ffe53-54b6-461f-b647-e740743b7ec1:Node da0ffe53-54b6-461f-b647-e740743b7ec1 :: false

deleteSubnodes 1.147s
2021-03-18 23:09:07 |

2021-03-18 23:09:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-18 23:09:07 | ------------------------------------

2021-03-18 23:09:07 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a1563c9e-d527-4a91-aa35-df635c1bda2c</node></data>

2021-03-18 23:09:07 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-18 23:09:08 | [Mutex] waiting for: [received:nodes:d0a93e98-cad6-4ed6-97ff-d35ad94139a0:localhost]

2021-03-18 23:09:08 | [Mutex] received everything.

2021-03-18 23:09:08 | [Mutex] isItemNotified: received:node:d0a93e98-cad6-4ed6-97ff-d35ad94139a0:localhost:node-a1563c9e-d527-4a91-aa35-df635c1bda2c:Node a1563c9e-d527-4a91-aa35-df635c1bda2c :: false

2021-03-18 23:09:08 | [Mutex] waiting for: [received:nodes:c26a4f71-92c2-4bc8-bf57-b6756246d7d6:localhost]

2021-03-18 23:09:08 | [Mutex] received everything.

2021-03-18 23:09:08 | [Mutex] isItemNotified: received:node:c26a4f71-92c2-4bc8-bf57-b6756246d7d6:localhost:node-a1563c9e-d527-4a91-aa35-df635c1bda2c:Node a1563c9e-d527-4a91-aa35-df635c1bda2c :: false

publishItemsToNodes 0.197s
2021-03-18 23:09:05 |

2021-03-18 23:09:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-18 23:09:05 | ------------------------------------

2021-03-18 23:09:05 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-a1563c9e-d527-4a91-aa35-df635c1bda2c</node><item-id>item-86b49402-5a2b-4198-91aa-876c98076c87</item-id><entry><test>item-86b49402-5a2b-4198-91aa-876c98076c87</test></entry></data>

2021-03-18 23:09:05 | 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-86b49402-5a2b-4198-91aa-876c98076c87</value></item-id></result>

2021-03-18 23:09:05 | [Mutex] waiting for: [published:item:notifieditem-86b49402-5a2b-4198-91aa-876c98076c87:admin@test-domain.com]

2021-03-18 23:09:05 | [Mutex] received everything.

2021-03-18 23:09:05 | [Mutex] isItemNotified: published:item:notifieditem-86b49402-5a2b-4198-91aa-876c98076c87:admin@test-domain.com :: true

retractItemsFromNodes 0.376s
2021-03-18 23:09:06 |

2021-03-18 23:09:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-18 23:09:06 | ------------------------------------

2021-03-18 23:09:06 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-a1563c9e-d527-4a91-aa35-df635c1bda2c</node><item-id>item-86b49402-5a2b-4198-91aa-876c98076c87</item-id></data>

2021-03-18 23:09:06 | 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-86b49402-5a2b-4198-91aa-876c98076c87</value></item-id></result>

2021-03-18 23:09:06 | [Mutex] received everything.

2021-03-18 23:09:06 | [Mutex] isItemNotified: retracted:item:notifieditem-86b49402-5a2b-4198-91aa-876c98076c87:admin@test-domain.com :: true

retrieveItemsFromNodes 0.294s
2021-03-18 23:09:05 |

2021-03-18 23:09:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-18 23:09:05 | ------------------------------------

2021-03-18 23:09:05 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-a1563c9e-d527-4a91-aa35-df635c1bda2c</node><item-id>item-86b49402-5a2b-4198-91aa-876c98076c87</item-id></data>

2021-03-18 23:09:05 | 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-a1563c9e-d527-4a91-aa35-df635c1bda2c</value></node><item-id type="text-single" label="Item ID"><value>item-86b49402-5a2b-4198-91aa-876c98076c87</value></item-id><item type="text-multi" label="Item"><value><item id="item-86b49402-5a2b-4198-91aa-876c98076c87"><test>item-86b49402-5a2b-4198-91aa-876c98076c87</test></item></value></item></result>

2021-03-18 23:09:05 | [Mutex] notify: [retrieved:item:item-86b49402-5a2b-4198-91aa-876c98076c87:payload-matches:true:localhost]

2021-03-18 23:09:05 | [Mutex] received everything.

2021-03-18 23:09:05 | [Mutex] isItemNotified: retrieved:item:item-86b49402-5a2b-4198-91aa-876c98076c87:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.048s
2021-03-18 23:09:05 |

2021-03-18 23:09:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-18 23:09:05 | ------------------------------------

2021-03-18 23:09:05 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-03-18 23:09:05 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-a1563c9e-d527-4a91-aa35-df635c1bda2c</value><value>node-da0ffe53-54b6-461f-b647-e740743b7ec1</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2021-03-18 23:09:05 |

2021-03-18 23:09:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-18 23:09:05 | ------------------------------------

2021-03-18 23:09:05 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-a1563c9e-d527-4a91-aa35-df635c1bda2c)</node-pattern></data>

2021-03-18 23:09:06 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.194s
2021-03-18 23:09:04 |

2021-03-18 23:09:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-18 23:09:04 | ------------------------------------

2021-03-18 23:09:04 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-a1563c9e-d527-4a91-aa35-df635c1bda2c</node><jids><value>admin@test-domain.com</value></jids></data>

2021-03-18 23:09:04 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.303s
2021-03-18 23:09:06 |

2021-03-18 23:09:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-18 23:09:06 | ------------------------------------

2021-03-18 23:09:06 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-a1563c9e-d527-4a91-aa35-df635c1bda2c</node><jids><value>admin@test-domain.com</value></jids></data>

2021-03-18 23:09:06 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>