Generated by TestNG with ReportNG at 22:17 PDT on Monday 27 June 2022
root@1bc69cf4cb94 / Java 17.0.2 (Private Build) / 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 : 9.415s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.101s
2022-06-27 22:33:19 |

2022-06-27 22:33:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-27 22:33:19 | ------------------------------------

2022-06-27 22:33:19 | [Mutex] waiting for: [configured:node:node-adf06964-2254-4cb6-b32e-3523cf39a768:node-d4734f14-1d33-447c-b69d-e028bdf52ac9]

2022-06-27 22:33:19 | [Mutex] received everything.

2022-06-27 22:33:19 | [Mutex] isItemNotified: configured:node:node-adf06964-2254-4cb6-b32e-3523cf39a768:node-d4734f14-1d33-447c-b69d-e028bdf52ac9 :: true

2022-06-27 22:33:20 | [Mutex] waiting for: [received:nodes:3bd11b50-1d02-49bc-b538-f8fd3c43deeb:localhost]

2022-06-27 22:33:20 | [Mutex] received everything.

2022-06-27 22:33:20 | [Mutex] isItemNotified: received:node:3bd11b50-1d02-49bc-b538-f8fd3c43deeb:localhost:node-adf06964-2254-4cb6-b32e-3523cf39a768:Node adf06964-2254-4cb6-b32e-3523cf39a768 :: true

2022-06-27 22:33:20 | [Mutex] waiting for: [received:nodes:a7205ea1-73d4-44a1-956c-660e76385913:localhost]

2022-06-27 22:33:20 | [Mutex] waiting for: [received:nodes:a7205ea1-73d4-44a1-956c-660e76385913:localhost]

2022-06-27 22:33:20 | [Mutex] waiting for: [received:nodes:a7205ea1-73d4-44a1-956c-660e76385913:localhost]

2022-06-27 22:33:20 | [Mutex] waiting for: [received:nodes:a7205ea1-73d4-44a1-956c-660e76385913:localhost]

2022-06-27 22:33:20 | [Mutex] received everything.

2022-06-27 22:33:20 | [Mutex] isItemNotified: received:node:a7205ea1-73d4-44a1-956c-660e76385913:localhost:node-adf06964-2254-4cb6-b32e-3523cf39a768:Node adf06964-2254-4cb6-b32e-3523cf39a768 :: false

createNodes 1.437s
2022-06-27 22:33:17 |

2022-06-27 22:33:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-27 22:33:17 | ------------------------------------

2022-06-27 22:33:17 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-adf06964-2254-4cb6-b32e-3523cf39a768</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node adf06964-2254-4cb6-b32e-3523cf39a768</title></pubsub></data>

2022-06-27 22:33:17 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-06-27 22:33:18 | [Mutex] waiting for: [received:nodes:87bcee70-a4ed-4692-aab7-2060a778d77f:localhost]

2022-06-27 22:33:18 | [Mutex] waiting for: [received:nodes:87bcee70-a4ed-4692-aab7-2060a778d77f:localhost]

2022-06-27 22:33:18 | [Mutex] received everything.

2022-06-27 22:33:18 | [Mutex] isItemNotified: received:node:87bcee70-a4ed-4692-aab7-2060a778d77f:localhost:node-adf06964-2254-4cb6-b32e-3523cf39a768:Node adf06964-2254-4cb6-b32e-3523cf39a768 :: true

createSubnodes 1.031s
2022-06-27 22:33:18 |

2022-06-27 22:33:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-27 22:33:18 | ------------------------------------

2022-06-27 22:33:18 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d4734f14-1d33-447c-b69d-e028bdf52ac9</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node d4734f14-1d33-447c-b69d-e028bdf52ac9</title></pubsub></data>

2022-06-27 22:33:18 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-06-27 22:33:19 | [Mutex] waiting for: [received:nodes:7756a7ba-5ad5-4369-9564-48af32e67447:localhost]

2022-06-27 22:33:19 | [Mutex] waiting for: [received:nodes:7756a7ba-5ad5-4369-9564-48af32e67447:localhost]

2022-06-27 22:33:19 | [Mutex] waiting for: [received:nodes:7756a7ba-5ad5-4369-9564-48af32e67447:localhost]

2022-06-27 22:33:19 | [Mutex] waiting for: [received:nodes:7756a7ba-5ad5-4369-9564-48af32e67447:localhost]

2022-06-27 22:33:19 | [Mutex] waiting for: [received:nodes:7756a7ba-5ad5-4369-9564-48af32e67447:localhost]

2022-06-27 22:33:19 | [Mutex] received everything.

2022-06-27 22:33:19 | [Mutex] isItemNotified: received:node:7756a7ba-5ad5-4369-9564-48af32e67447:localhost:node-d4734f14-1d33-447c-b69d-e028bdf52ac9:Node d4734f14-1d33-447c-b69d-e028bdf52ac9 :: true

deleteNodes 1.018s
2022-06-27 22:33:25 |

2022-06-27 22:33:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-27 22:33:25 | ------------------------------------

2022-06-27 22:33:25 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d4734f14-1d33-447c-b69d-e028bdf52ac9</node></data>

2022-06-27 22:33:25 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-06-27 22:33:26 | [Mutex] waiting for: [received:nodes:a6e66595-6c69-4401-9df8-501ea237beb7:localhost]

2022-06-27 22:33:26 | [Mutex] waiting for: [received:nodes:a6e66595-6c69-4401-9df8-501ea237beb7:localhost]

2022-06-27 22:33:26 | [Mutex] received everything.

2022-06-27 22:33:26 | [Mutex] isItemNotified: received:node:a6e66595-6c69-4401-9df8-501ea237beb7:localhost:node-d4734f14-1d33-447c-b69d-e028bdf52ac9:Node d4734f14-1d33-447c-b69d-e028bdf52ac9 :: false

deleteSubnodes 1.132s
2022-06-27 22:33:24 |

2022-06-27 22:33:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-27 22:33:24 | ------------------------------------

2022-06-27 22:33:24 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-adf06964-2254-4cb6-b32e-3523cf39a768</node></data>

2022-06-27 22:33:24 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-06-27 22:33:25 | [Mutex] waiting for: [received:nodes:0f4fcdd9-9987-474a-b200-10e101c5d16d:localhost]

2022-06-27 22:33:25 | [Mutex] received everything.

2022-06-27 22:33:25 | [Mutex] isItemNotified: received:node:0f4fcdd9-9987-474a-b200-10e101c5d16d:localhost:node-adf06964-2254-4cb6-b32e-3523cf39a768:Node adf06964-2254-4cb6-b32e-3523cf39a768 :: false

2022-06-27 22:33:25 | [Mutex] waiting for: [received:nodes:c11952bb-199b-4a28-b3da-9420ed3c6dd5:localhost]

2022-06-27 22:33:25 | [Mutex] received everything.

2022-06-27 22:33:25 | [Mutex] isItemNotified: received:node:c11952bb-199b-4a28-b3da-9420ed3c6dd5:localhost:node-adf06964-2254-4cb6-b32e-3523cf39a768:Node adf06964-2254-4cb6-b32e-3523cf39a768 :: false

publishItemsToNodes 0.187s
2022-06-27 22:33:22 |

2022-06-27 22:33:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-27 22:33:22 | ------------------------------------

2022-06-27 22:33:22 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-adf06964-2254-4cb6-b32e-3523cf39a768</node><item-id>item-cf5777eb-ffab-441e-a45b-363e8cb3215d</item-id><entry><test>item-cf5777eb-ffab-441e-a45b-363e8cb3215d</test></entry></data>

2022-06-27 22:33:22 | 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-cf5777eb-ffab-441e-a45b-363e8cb3215d</value></item-id></result>

2022-06-27 22:33:22 | [Mutex] waiting for: [published:item:notifieditem-cf5777eb-ffab-441e-a45b-363e8cb3215d:admin@test-domain.com]

2022-06-27 22:33:22 | [Mutex] received everything.

2022-06-27 22:33:22 | [Mutex] isItemNotified: published:item:notifieditem-cf5777eb-ffab-441e-a45b-363e8cb3215d:admin@test-domain.com :: true

retractItemsFromNodes 0.251s
2022-06-27 22:33:22 |

2022-06-27 22:33:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-27 22:33:22 | ------------------------------------

2022-06-27 22:33:22 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-adf06964-2254-4cb6-b32e-3523cf39a768</node><item-id>item-cf5777eb-ffab-441e-a45b-363e8cb3215d</item-id></data>

2022-06-27 22:33:22 | 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-cf5777eb-ffab-441e-a45b-363e8cb3215d</value></item-id></result>

2022-06-27 22:33:22 | [Mutex] received everything.

2022-06-27 22:33:22 | [Mutex] isItemNotified: retracted:item:notifieditem-cf5777eb-ffab-441e-a45b-363e8cb3215d:admin@test-domain.com :: true

retrieveItemsFromNodes 0.180s
2022-06-27 22:33:22 |

2022-06-27 22:33:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-27 22:33:22 | ------------------------------------

2022-06-27 22:33:22 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-adf06964-2254-4cb6-b32e-3523cf39a768</node><item-id>item-cf5777eb-ffab-441e-a45b-363e8cb3215d</item-id></data>

2022-06-27 22:33:22 | 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-adf06964-2254-4cb6-b32e-3523cf39a768</value></node><item-id type="text-single" label="Item ID"><value>item-cf5777eb-ffab-441e-a45b-363e8cb3215d</value></item-id><item type="text-multi" label="Item"><value><item id="item-cf5777eb-ffab-441e-a45b-363e8cb3215d"><test>item-cf5777eb-ffab-441e-a45b-363e8cb3215d</test></item></value></item></result>

2022-06-27 22:33:22 | [Mutex] notify: [retrieved:item:item-cf5777eb-ffab-441e-a45b-363e8cb3215d:payload-matches:true:localhost]

2022-06-27 22:33:22 | [Mutex] received everything.

2022-06-27 22:33:22 | [Mutex] isItemNotified: retrieved:item:item-cf5777eb-ffab-441e-a45b-363e8cb3215d:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.051s
2022-06-27 22:33:22 |

2022-06-27 22:33:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-27 22:33:22 | ------------------------------------

2022-06-27 22:33:22 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-06-27 22:33:22 | 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-adf06964-2254-4cb6-b32e-3523cf39a768</value><value>node-d4734f14-1d33-447c-b69d-e028bdf52ac9</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-06-27 22:33:22 |

2022-06-27 22:33:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-27 22:33:22 | ------------------------------------

2022-06-27 22:33:22 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-adf06964-2254-4cb6-b32e-3523cf39a768)</node-pattern></data>

2022-06-27 22:33:22 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.149s
2022-06-27 22:33:20 |

2022-06-27 22:33:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-27 22:33:20 | ------------------------------------

2022-06-27 22:33:20 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-adf06964-2254-4cb6-b32e-3523cf39a768</node><jids><value>admin@test-domain.com</value></jids></data>

2022-06-27 22:33:21 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.195s
2022-06-27 22:33:22 |

2022-06-27 22:33:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-27 22:33:22 | ------------------------------------

2022-06-27 22:33:22 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-adf06964-2254-4cb6-b32e-3523cf39a768</node><jids><value>admin@test-domain.com</value></jids></data>

2022-06-27 22:33:23 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>