Generated by TestNG with ReportNG at 22:20 PDT on Monday 05 September 2022
root@7c41cec37518 / 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.460s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.100s
2022-09-05 22:32:15 |

2022-09-05 22:32:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-05 22:32:15 | ------------------------------------

2022-09-05 22:32:15 | [Mutex] waiting for: [configured:node:node-a01bd782-8733-4349-9a15-ff93b14c8d6f:node-34c47449-786e-41d4-9f2d-6e7e5bd1f1f9]

2022-09-05 22:32:16 | [Mutex] received everything.

2022-09-05 22:32:16 | [Mutex] isItemNotified: configured:node:node-a01bd782-8733-4349-9a15-ff93b14c8d6f:node-34c47449-786e-41d4-9f2d-6e7e5bd1f1f9 :: true

2022-09-05 22:32:17 | [Mutex] waiting for: [received:nodes:33e5bc3b-abf7-4cd8-8e29-8f696e5815e0:localhost]

2022-09-05 22:32:17 | [Mutex] received everything.

2022-09-05 22:32:17 | [Mutex] isItemNotified: received:node:33e5bc3b-abf7-4cd8-8e29-8f696e5815e0:localhost:node-a01bd782-8733-4349-9a15-ff93b14c8d6f:Node a01bd782-8733-4349-9a15-ff93b14c8d6f :: true

2022-09-05 22:32:17 | [Mutex] waiting for: [received:nodes:8b06b5d6-2367-4846-a020-fe2454e02fca:localhost]

2022-09-05 22:32:17 | [Mutex] received everything.

2022-09-05 22:32:17 | [Mutex] isItemNotified: received:node:8b06b5d6-2367-4846-a020-fe2454e02fca:localhost:node-a01bd782-8733-4349-9a15-ff93b14c8d6f:Node a01bd782-8733-4349-9a15-ff93b14c8d6f :: false

createNodes 1.386s
2022-09-05 22:32:13 |

2022-09-05 22:32:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-05 22:32:13 | ------------------------------------

2022-09-05 22:32:13 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a01bd782-8733-4349-9a15-ff93b14c8d6f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node a01bd782-8733-4349-9a15-ff93b14c8d6f</title></pubsub></data>

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

2022-09-05 22:32:14 | [Mutex] waiting for: [received:nodes:9b02c3c9-31a5-4ef0-967f-8236d7bab947:localhost]

2022-09-05 22:32:14 | [Mutex] received everything.

2022-09-05 22:32:14 | [Mutex] isItemNotified: received:node:9b02c3c9-31a5-4ef0-967f-8236d7bab947:localhost:node-a01bd782-8733-4349-9a15-ff93b14c8d6f:Node a01bd782-8733-4349-9a15-ff93b14c8d6f :: true

createSubnodes 1.020s
2022-09-05 22:32:14 |

2022-09-05 22:32:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-05 22:32:14 | ------------------------------------

2022-09-05 22:32:14 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-34c47449-786e-41d4-9f2d-6e7e5bd1f1f9</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 34c47449-786e-41d4-9f2d-6e7e5bd1f1f9</title></pubsub></data>

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

2022-09-05 22:32:15 | [Mutex] waiting for: [received:nodes:dc0e5bb8-85be-44a6-a534-402132e2cedf:localhost]

2022-09-05 22:32:15 | [Mutex] received everything.

2022-09-05 22:32:15 | [Mutex] isItemNotified: received:node:dc0e5bb8-85be-44a6-a534-402132e2cedf:localhost:node-34c47449-786e-41d4-9f2d-6e7e5bd1f1f9:Node 34c47449-786e-41d4-9f2d-6e7e5bd1f1f9 :: true

deleteNodes 1.015s
2022-09-05 22:32:21 |

2022-09-05 22:32:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-05 22:32:21 | ------------------------------------

2022-09-05 22:32:21 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-34c47449-786e-41d4-9f2d-6e7e5bd1f1f9</node></data>

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

2022-09-05 22:32:22 | [Mutex] waiting for: [received:nodes:0865761a-2452-4b4a-b032-36f08e8ca62b:localhost]

2022-09-05 22:32:22 | [Mutex] received everything.

2022-09-05 22:32:22 | [Mutex] isItemNotified: received:node:0865761a-2452-4b4a-b032-36f08e8ca62b:localhost:node-34c47449-786e-41d4-9f2d-6e7e5bd1f1f9:Node 34c47449-786e-41d4-9f2d-6e7e5bd1f1f9 :: false

deleteSubnodes 1.118s
2022-09-05 22:32:20 |

2022-09-05 22:32:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-05 22:32:20 | ------------------------------------

2022-09-05 22:32:20 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a01bd782-8733-4349-9a15-ff93b14c8d6f</node></data>

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

2022-09-05 22:32:21 | [Mutex] waiting for: [received:nodes:de05c395-1949-4641-9833-a91b7c861acb:localhost]

2022-09-05 22:32:21 | [Mutex] received everything.

2022-09-05 22:32:21 | [Mutex] isItemNotified: received:node:de05c395-1949-4641-9833-a91b7c861acb:localhost:node-a01bd782-8733-4349-9a15-ff93b14c8d6f:Node a01bd782-8733-4349-9a15-ff93b14c8d6f :: false

2022-09-05 22:32:21 | [Mutex] waiting for: [received:nodes:1988d581-5baf-4590-b32e-eb71dc2f63d1:localhost]

2022-09-05 22:32:21 | [Mutex] received everything.

2022-09-05 22:32:21 | [Mutex] isItemNotified: received:node:1988d581-5baf-4590-b32e-eb71dc2f63d1:localhost:node-a01bd782-8733-4349-9a15-ff93b14c8d6f:Node a01bd782-8733-4349-9a15-ff93b14c8d6f :: false

publishItemsToNodes 0.264s
2022-09-05 22:32:18 |

2022-09-05 22:32:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-05 22:32:18 | ------------------------------------

2022-09-05 22:32:18 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-a01bd782-8733-4349-9a15-ff93b14c8d6f</node><item-id>item-1413c29d-e42e-42ef-8822-9f94cc4b22f8</item-id><entry><test>item-1413c29d-e42e-42ef-8822-9f94cc4b22f8</test></entry></data>

2022-09-05 22:32:18 | 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-1413c29d-e42e-42ef-8822-9f94cc4b22f8</value></item-id></result>

2022-09-05 22:32:18 | [Mutex] received everything.

2022-09-05 22:32:18 | [Mutex] isItemNotified: published:item:notifieditem-1413c29d-e42e-42ef-8822-9f94cc4b22f8:admin@test-domain.com :: true

retractItemsFromNodes 0.272s
2022-09-05 22:32:18 |

2022-09-05 22:32:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-05 22:32:18 | ------------------------------------

2022-09-05 22:32:18 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-a01bd782-8733-4349-9a15-ff93b14c8d6f</node><item-id>item-1413c29d-e42e-42ef-8822-9f94cc4b22f8</item-id></data>

2022-09-05 22:32:19 | 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-1413c29d-e42e-42ef-8822-9f94cc4b22f8</value></item-id></result>

2022-09-05 22:32:19 | [Mutex] received everything.

2022-09-05 22:32:19 | [Mutex] isItemNotified: retracted:item:notifieditem-1413c29d-e42e-42ef-8822-9f94cc4b22f8:admin@test-domain.com :: true

retrieveItemsFromNodes 0.176s
2022-09-05 22:32:18 |

2022-09-05 22:32:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-05 22:32:18 | ------------------------------------

2022-09-05 22:32:18 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-a01bd782-8733-4349-9a15-ff93b14c8d6f</node><item-id>item-1413c29d-e42e-42ef-8822-9f94cc4b22f8</item-id></data>

2022-09-05 22:32:18 | 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-a01bd782-8733-4349-9a15-ff93b14c8d6f</value></node><item-id type="text-single" label="Item ID"><value>item-1413c29d-e42e-42ef-8822-9f94cc4b22f8</value></item-id><item type="text-multi" label="Item"><value><item id="item-1413c29d-e42e-42ef-8822-9f94cc4b22f8"><test>item-1413c29d-e42e-42ef-8822-9f94cc4b22f8</test></item></value></item></result>

2022-09-05 22:32:18 | [Mutex] notify: [retrieved:item:item-1413c29d-e42e-42ef-8822-9f94cc4b22f8:payload-matches:true:localhost]

2022-09-05 22:32:18 | [Mutex] received everything.

2022-09-05 22:32:18 | [Mutex] isItemNotified: retrieved:item:item-1413c29d-e42e-42ef-8822-9f94cc4b22f8:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-09-05 22:32:18 |

2022-09-05 22:32:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-05 22:32:18 | ------------------------------------

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

2022-09-05 22:32:18 | 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-a01bd782-8733-4349-9a15-ff93b14c8d6f</value><value>node-34c47449-786e-41d4-9f2d-6e7e5bd1f1f9</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-09-05 22:32:18 |

2022-09-05 22:32:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-05 22:32:18 | ------------------------------------

2022-09-05 22:32:18 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-a01bd782-8733-4349-9a15-ff93b14c8d6f)</node-pattern></data>

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

subscribeNodes 1.138s
2022-09-05 22:32:17 |

2022-09-05 22:32:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-05 22:32:17 | ------------------------------------

2022-09-05 22:32:17 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-a01bd782-8733-4349-9a15-ff93b14c8d6f</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.209s
2022-09-05 22:32:19 |

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

2022-09-05 22:32:19 | ------------------------------------

2022-09-05 22:32:19 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-a01bd782-8733-4349-9a15-ff93b14c8d6f</node><jids><value>admin@test-domain.com</value></jids></data>

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