Generated by TestNG with ReportNG at 21:57 PST on Sunday 05 December 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.270s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.156s
2021-12-05 22:12:46 |

2021-12-05 22:12:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-05 22:12:46 | ------------------------------------

2021-12-05 22:12:46 | [Mutex] waiting for: [configured:node:node-2a97f568-6c81-4bbc-9b73-9c65998555c2:node-6be654e4-de33-4706-93b8-5575ada8b89d]

2021-12-05 22:12:46 | [Mutex] received everything.

2021-12-05 22:12:46 | [Mutex] isItemNotified: configured:node:node-2a97f568-6c81-4bbc-9b73-9c65998555c2:node-6be654e4-de33-4706-93b8-5575ada8b89d :: true

2021-12-05 22:12:47 | [Mutex] waiting for: [received:nodes:87665fd9-5427-42db-b9f7-51ad254bd166:localhost]

2021-12-05 22:12:47 | [Mutex] received everything.

2021-12-05 22:12:47 | [Mutex] isItemNotified: received:node:87665fd9-5427-42db-b9f7-51ad254bd166:localhost:node-2a97f568-6c81-4bbc-9b73-9c65998555c2:Node 2a97f568-6c81-4bbc-9b73-9c65998555c2 :: true

2021-12-05 22:12:47 | [Mutex] waiting for: [received:nodes:1f20de65-75ce-448d-a052-f1ba6222f916:localhost]

2021-12-05 22:12:48 | [Mutex] received everything.

2021-12-05 22:12:48 | [Mutex] isItemNotified: received:node:1f20de65-75ce-448d-a052-f1ba6222f916:localhost:node-2a97f568-6c81-4bbc-9b73-9c65998555c2:Node 2a97f568-6c81-4bbc-9b73-9c65998555c2 :: false

createNodes 1.636s
2021-12-05 22:12:44 |

2021-12-05 22:12:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-05 22:12:44 | ------------------------------------

2021-12-05 22:12:44 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-2a97f568-6c81-4bbc-9b73-9c65998555c2</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 2a97f568-6c81-4bbc-9b73-9c65998555c2</title></pubsub></data>

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

2021-12-05 22:12:45 | [Mutex] waiting for: [received:nodes:7c61987e-5367-4974-9f08-9b8e8baf8615:localhost]

2021-12-05 22:12:45 | [Mutex] waiting for: [received:nodes:7c61987e-5367-4974-9f08-9b8e8baf8615:localhost]

2021-12-05 22:12:45 | [Mutex] received everything.

2021-12-05 22:12:45 | [Mutex] isItemNotified: received:node:7c61987e-5367-4974-9f08-9b8e8baf8615:localhost:node-2a97f568-6c81-4bbc-9b73-9c65998555c2:Node 2a97f568-6c81-4bbc-9b73-9c65998555c2 :: true

createSubnodes 1.023s
2021-12-05 22:12:45 |

2021-12-05 22:12:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-05 22:12:45 | ------------------------------------

2021-12-05 22:12:45 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-6be654e4-de33-4706-93b8-5575ada8b89d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 6be654e4-de33-4706-93b8-5575ada8b89d</title></pubsub></data>

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

2021-12-05 22:12:46 | [Mutex] waiting for: [received:nodes:bcab2e59-0a40-4553-a659-289ab2489ce7:localhost]

2021-12-05 22:12:46 | [Mutex] waiting for: [received:nodes:bcab2e59-0a40-4553-a659-289ab2489ce7:localhost]

2021-12-05 22:12:46 | [Mutex] received everything.

2021-12-05 22:12:46 | [Mutex] isItemNotified: received:node:bcab2e59-0a40-4553-a659-289ab2489ce7:localhost:node-6be654e4-de33-4706-93b8-5575ada8b89d:Node 6be654e4-de33-4706-93b8-5575ada8b89d :: true

deleteNodes 1.026s
2021-12-05 22:12:52 |

2021-12-05 22:12:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-05 22:12:52 | ------------------------------------

2021-12-05 22:12:52 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-6be654e4-de33-4706-93b8-5575ada8b89d</node></data>

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

2021-12-05 22:12:53 | [Mutex] waiting for: [received:nodes:3b3de2c9-1733-4a07-9423-99844341657f:localhost]

2021-12-05 22:12:53 | [Mutex] received everything.

2021-12-05 22:12:53 | [Mutex] isItemNotified: received:node:3b3de2c9-1733-4a07-9423-99844341657f:localhost:node-6be654e4-de33-4706-93b8-5575ada8b89d:Node 6be654e4-de33-4706-93b8-5575ada8b89d :: false

deleteSubnodes 1.139s
2021-12-05 22:12:51 |

2021-12-05 22:12:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-05 22:12:51 | ------------------------------------

2021-12-05 22:12:51 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-2a97f568-6c81-4bbc-9b73-9c65998555c2</node></data>

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

2021-12-05 22:12:52 | [Mutex] waiting for: [received:nodes:d52a8833-46fb-4afa-b1e8-778f88ad2f6c:localhost]

2021-12-05 22:12:52 | [Mutex] received everything.

2021-12-05 22:12:52 | [Mutex] isItemNotified: received:node:d52a8833-46fb-4afa-b1e8-778f88ad2f6c:localhost:node-2a97f568-6c81-4bbc-9b73-9c65998555c2:Node 2a97f568-6c81-4bbc-9b73-9c65998555c2 :: false

2021-12-05 22:12:52 | [Mutex] waiting for: [received:nodes:2178226f-006c-4857-ac66-0f5059f784aa:localhost]

2021-12-05 22:12:52 | [Mutex] received everything.

2021-12-05 22:12:52 | [Mutex] isItemNotified: received:node:2178226f-006c-4857-ac66-0f5059f784aa:localhost:node-2a97f568-6c81-4bbc-9b73-9c65998555c2:Node 2a97f568-6c81-4bbc-9b73-9c65998555c2 :: false

publishItemsToNodes 0.252s
2021-12-05 22:12:49 |

2021-12-05 22:12:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-05 22:12:49 | ------------------------------------

2021-12-05 22:12:49 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-2a97f568-6c81-4bbc-9b73-9c65998555c2</node><item-id>item-73a6dc69-9f51-44f7-984b-48e936917927</item-id><entry><test>item-73a6dc69-9f51-44f7-984b-48e936917927</test></entry></data>

2021-12-05 22:12:49 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-73a6dc69-9f51-44f7-984b-48e936917927</value></item-id></result>

2021-12-05 22:12:49 | [Mutex] received everything.

2021-12-05 22:12:49 | [Mutex] isItemNotified: published:item:notifieditem-73a6dc69-9f51-44f7-984b-48e936917927:admin@test-domain.com :: true

retractItemsFromNodes 0.211s
2021-12-05 22:12:49 |

2021-12-05 22:12:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-05 22:12:49 | ------------------------------------

2021-12-05 22:12:49 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-2a97f568-6c81-4bbc-9b73-9c65998555c2</node><item-id>item-73a6dc69-9f51-44f7-984b-48e936917927</item-id></data>

2021-12-05 22:12:50 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-73a6dc69-9f51-44f7-984b-48e936917927</value></item-id></result>

2021-12-05 22:12:50 | [Mutex] received everything.

2021-12-05 22:12:50 | [Mutex] isItemNotified: retracted:item:notifieditem-73a6dc69-9f51-44f7-984b-48e936917927:admin@test-domain.com :: true

retrieveItemsFromNodes 0.320s
2021-12-05 22:12:49 |

2021-12-05 22:12:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-05 22:12:49 | ------------------------------------

2021-12-05 22:12:49 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-2a97f568-6c81-4bbc-9b73-9c65998555c2</node><item-id>item-73a6dc69-9f51-44f7-984b-48e936917927</item-id></data>

2021-12-05 22:12:49 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node label="Node" type="text-single"><value>node-2a97f568-6c81-4bbc-9b73-9c65998555c2</value></node><item-id label="Item ID" type="text-single"><value>item-73a6dc69-9f51-44f7-984b-48e936917927</value></item-id><item label="Item" type="text-multi"><value><item id="item-73a6dc69-9f51-44f7-984b-48e936917927"><test>item-73a6dc69-9f51-44f7-984b-48e936917927</test></item></value></item></result>

2021-12-05 22:12:49 | [Mutex] notify: [retrieved:item:item-73a6dc69-9f51-44f7-984b-48e936917927:payload-matches:true:localhost]

2021-12-05 22:12:49 | [Mutex] received everything.

2021-12-05 22:12:49 | [Mutex] isItemNotified: retrieved:item:item-73a6dc69-9f51-44f7-984b-48e936917927:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2021-12-05 22:12:49 |

2021-12-05 22:12:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-05 22:12:49 | ------------------------------------

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

2021-12-05 22:12:49 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-2a97f568-6c81-4bbc-9b73-9c65998555c2</value><value>node-6be654e4-de33-4706-93b8-5575ada8b89d</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.087s
2021-12-05 22:12:49 |

2021-12-05 22:12:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-05 22:12:49 | ------------------------------------

2021-12-05 22:12:49 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-2a97f568-6c81-4bbc-9b73-9c65998555c2)</node-pattern></data>

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

subscribeNodes 1.193s
2021-12-05 22:12:48 |

2021-12-05 22:12:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-05 22:12:48 | ------------------------------------

2021-12-05 22:12:48 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-2a97f568-6c81-4bbc-9b73-9c65998555c2</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.283s
2021-12-05 22:12:50 |

2021-12-05 22:12:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-05 22:12:50 | ------------------------------------

2021-12-05 22:12:50 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-2a97f568-6c81-4bbc-9b73-9c65998555c2</node><jids><value>admin@test-domain.com</value></jids></data>

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