Generated by TestNG with ReportNG at 22:19 PDT on Sunday 07 August 2022
root@ed1b7dd8a1b3 / Java 17.0.2 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

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

Suites · Log Output

Test duration : 9.477s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.102s
2022-08-07 22:33:59 |

2022-08-07 22:33:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-07 22:33:59 | ------------------------------------

2022-08-07 22:33:59 | [Mutex] waiting for: [configured:node:node-166850a7-f340-47df-936b-c9131d6079b7:node-8f54b6b4-1693-4f9b-8059-d7d5ca71514e]

2022-08-07 22:33:59 | [Mutex] received everything.

2022-08-07 22:33:59 | [Mutex] isItemNotified: configured:node:node-166850a7-f340-47df-936b-c9131d6079b7:node-8f54b6b4-1693-4f9b-8059-d7d5ca71514e :: true

2022-08-07 22:34:00 | [Mutex] waiting for: [received:nodes:96d2a7a0-2a0d-4859-a6b2-cd662661c9b2:localhost]

2022-08-07 22:34:00 | [Mutex] received everything.

2022-08-07 22:34:00 | [Mutex] isItemNotified: received:node:96d2a7a0-2a0d-4859-a6b2-cd662661c9b2:localhost:node-166850a7-f340-47df-936b-c9131d6079b7:Node 166850a7-f340-47df-936b-c9131d6079b7 :: true

2022-08-07 22:34:00 | [Mutex] waiting for: [received:nodes:b149187c-3ec3-4ca0-9311-aaf4e2e2fa12:localhost]

2022-08-07 22:34:00 | [Mutex] received everything.

2022-08-07 22:34:00 | [Mutex] isItemNotified: received:node:b149187c-3ec3-4ca0-9311-aaf4e2e2fa12:localhost:node-166850a7-f340-47df-936b-c9131d6079b7:Node 166850a7-f340-47df-936b-c9131d6079b7 :: false

createNodes 1.393s
2022-08-07 22:33:57 |

2022-08-07 22:33:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-07 22:33:57 | ------------------------------------

2022-08-07 22:33:57 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-166850a7-f340-47df-936b-c9131d6079b7</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 166850a7-f340-47df-936b-c9131d6079b7</title></pubsub></data>

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

2022-08-07 22:33:58 | [Mutex] waiting for: [received:nodes:d5473fd7-ad11-4ca3-9574-2739832d91fb:localhost]

2022-08-07 22:33:58 | [Mutex] waiting for: [received:nodes:d5473fd7-ad11-4ca3-9574-2739832d91fb:localhost]

2022-08-07 22:33:58 | [Mutex] received everything.

2022-08-07 22:33:58 | [Mutex] isItemNotified: received:node:d5473fd7-ad11-4ca3-9574-2739832d91fb:localhost:node-166850a7-f340-47df-936b-c9131d6079b7:Node 166850a7-f340-47df-936b-c9131d6079b7 :: true

createSubnodes 1.022s
2022-08-07 22:33:58 |

2022-08-07 22:33:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-07 22:33:58 | ------------------------------------

2022-08-07 22:33:58 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-8f54b6b4-1693-4f9b-8059-d7d5ca71514e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 8f54b6b4-1693-4f9b-8059-d7d5ca71514e</title></pubsub></data>

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

2022-08-07 22:33:59 | [Mutex] waiting for: [received:nodes:605c9768-f6f9-43f7-bf1a-b12b999f317c:localhost]

2022-08-07 22:33:59 | [Mutex] received everything.

2022-08-07 22:33:59 | [Mutex] isItemNotified: received:node:605c9768-f6f9-43f7-bf1a-b12b999f317c:localhost:node-8f54b6b4-1693-4f9b-8059-d7d5ca71514e:Node 8f54b6b4-1693-4f9b-8059-d7d5ca71514e :: true

deleteNodes 1.020s
2022-08-07 22:34:05 |

2022-08-07 22:34:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-07 22:34:05 | ------------------------------------

2022-08-07 22:34:05 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-8f54b6b4-1693-4f9b-8059-d7d5ca71514e</node></data>

2022-08-07 22:34:05 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-07 22:34:06 | [Mutex] waiting for: [received:nodes:a1b9b7a3-1c0c-41b4-ad66-dc08a4bba192:localhost]

2022-08-07 22:34:06 | [Mutex] waiting for: [received:nodes:a1b9b7a3-1c0c-41b4-ad66-dc08a4bba192:localhost]

2022-08-07 22:34:06 | [Mutex] received everything.

2022-08-07 22:34:06 | [Mutex] isItemNotified: received:node:a1b9b7a3-1c0c-41b4-ad66-dc08a4bba192:localhost:node-8f54b6b4-1693-4f9b-8059-d7d5ca71514e:Node 8f54b6b4-1693-4f9b-8059-d7d5ca71514e :: false

deleteSubnodes 1.129s
2022-08-07 22:34:04 |

2022-08-07 22:34:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-07 22:34:04 | ------------------------------------

2022-08-07 22:34:04 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-166850a7-f340-47df-936b-c9131d6079b7</node></data>

2022-08-07 22:34:04 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-07 22:34:05 | [Mutex] waiting for: [received:nodes:e14d7e04-3600-475d-8bd9-f4f9a3e387f7:localhost]

2022-08-07 22:34:05 | [Mutex] received everything.

2022-08-07 22:34:05 | [Mutex] isItemNotified: received:node:e14d7e04-3600-475d-8bd9-f4f9a3e387f7:localhost:node-166850a7-f340-47df-936b-c9131d6079b7:Node 166850a7-f340-47df-936b-c9131d6079b7 :: false

2022-08-07 22:34:05 | [Mutex] waiting for: [received:nodes:b2ebe922-6476-4486-ad0c-9000c5acde8e:localhost]

2022-08-07 22:34:05 | [Mutex] received everything.

2022-08-07 22:34:05 | [Mutex] isItemNotified: received:node:b2ebe922-6476-4486-ad0c-9000c5acde8e:localhost:node-166850a7-f340-47df-936b-c9131d6079b7:Node 166850a7-f340-47df-936b-c9131d6079b7 :: false

publishItemsToNodes 0.203s
2022-08-07 22:34:01 |

2022-08-07 22:34:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-07 22:34:01 | ------------------------------------

2022-08-07 22:34:01 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-166850a7-f340-47df-936b-c9131d6079b7</node><item-id>item-c72f8c7c-029f-421e-9602-3a9788e59c31</item-id><entry><test>item-c72f8c7c-029f-421e-9602-3a9788e59c31</test></entry></data>

2022-08-07 22:34:02 | 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-c72f8c7c-029f-421e-9602-3a9788e59c31</value></item-id></result>

2022-08-07 22:34:02 | [Mutex] received everything.

2022-08-07 22:34:02 | [Mutex] isItemNotified: published:item:notifieditem-c72f8c7c-029f-421e-9602-3a9788e59c31:admin@test-domain.com :: true

retractItemsFromNodes 0.351s
2022-08-07 22:34:02 |

2022-08-07 22:34:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-07 22:34:02 | ------------------------------------

2022-08-07 22:34:02 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-166850a7-f340-47df-936b-c9131d6079b7</node><item-id>item-c72f8c7c-029f-421e-9602-3a9788e59c31</item-id></data>

2022-08-07 22:34:02 | 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-c72f8c7c-029f-421e-9602-3a9788e59c31</value></item-id></result>

2022-08-07 22:34:02 | [Mutex] received everything.

2022-08-07 22:34:02 | [Mutex] isItemNotified: retracted:item:notifieditem-c72f8c7c-029f-421e-9602-3a9788e59c31:admin@test-domain.com :: true

retrieveItemsFromNodes 0.234s
2022-08-07 22:34:02 |

2022-08-07 22:34:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-07 22:34:02 | ------------------------------------

2022-08-07 22:34:02 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-166850a7-f340-47df-936b-c9131d6079b7</node><item-id>item-c72f8c7c-029f-421e-9602-3a9788e59c31</item-id></data>

2022-08-07 22:34:02 | 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-166850a7-f340-47df-936b-c9131d6079b7</value></node><item-id type="text-single" label="Item ID"><value>item-c72f8c7c-029f-421e-9602-3a9788e59c31</value></item-id><item type="text-multi" label="Item"><value><item id="item-c72f8c7c-029f-421e-9602-3a9788e59c31"><test>item-c72f8c7c-029f-421e-9602-3a9788e59c31</test></item></value></item></result>

2022-08-07 22:34:02 | [Mutex] notify: [retrieved:item:item-c72f8c7c-029f-421e-9602-3a9788e59c31:payload-matches:true:localhost]

2022-08-07 22:34:02 | [Mutex] received everything.

2022-08-07 22:34:02 | [Mutex] isItemNotified: retrieved:item:item-c72f8c7c-029f-421e-9602-3a9788e59c31:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2022-08-07 22:34:02 |

2022-08-07 22:34:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-07 22:34:02 | ------------------------------------

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

2022-08-07 22:34:02 | 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-8f54b6b4-1693-4f9b-8059-d7d5ca71514e</value><value>node-166850a7-f340-47df-936b-c9131d6079b7</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-08-07 22:34:02 |

2022-08-07 22:34:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-07 22:34:02 | ------------------------------------

2022-08-07 22:34:02 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-166850a7-f340-47df-936b-c9131d6079b7)</node-pattern></data>

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

subscribeNodes 1.115s
2022-08-07 22:34:00 |

2022-08-07 22:34:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-07 22:34:00 | ------------------------------------

2022-08-07 22:34:00 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-166850a7-f340-47df-936b-c9131d6079b7</node><jids><value>admin@test-domain.com</value></jids></data>

2022-08-07 22:34:00 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.199s
2022-08-07 22:34:02 |

2022-08-07 22:34:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-07 22:34:02 | ------------------------------------

2022-08-07 22:34:02 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-166850a7-f340-47df-936b-c9131d6079b7</node><jids><value>admin@test-domain.com</value></jids></data>

2022-08-07 22:34:03 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>