Generated by TestNG with ReportNG at 21:15 PST on Tuesday 10 January 2023
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.583s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.096s
2023-01-10 21:29:40 |

2023-01-10 21:29:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-01-10 21:29:40 | ------------------------------------

2023-01-10 21:29:40 | [Mutex] waiting for: [configured:node:node-f56bde6b-1157-421b-9a54-698401e18713:node-6945e5cd-6621-45e6-9ce2-8f4466706715]

2023-01-10 21:29:40 | [Mutex] received everything.

2023-01-10 21:29:40 | [Mutex] isItemNotified: configured:node:node-f56bde6b-1157-421b-9a54-698401e18713:node-6945e5cd-6621-45e6-9ce2-8f4466706715 :: true

2023-01-10 21:29:41 | [Mutex] waiting for: [received:nodes:d9a8640a-e081-4f27-8791-7e10b79402be:localhost]

2023-01-10 21:29:41 | [Mutex] received everything.

2023-01-10 21:29:41 | [Mutex] isItemNotified: received:node:d9a8640a-e081-4f27-8791-7e10b79402be:localhost:node-f56bde6b-1157-421b-9a54-698401e18713:Node f56bde6b-1157-421b-9a54-698401e18713 :: true

2023-01-10 21:29:41 | [Mutex] waiting for: [received:nodes:4145af4d-d4b4-4831-99b8-ded590a13ced:localhost]

2023-01-10 21:29:41 | [Mutex] waiting for: [received:nodes:4145af4d-d4b4-4831-99b8-ded590a13ced:localhost]

2023-01-10 21:29:41 | [Mutex] waiting for: [received:nodes:4145af4d-d4b4-4831-99b8-ded590a13ced:localhost]

2023-01-10 21:29:41 | [Mutex] waiting for: [received:nodes:4145af4d-d4b4-4831-99b8-ded590a13ced:localhost]

2023-01-10 21:29:41 | [Mutex] received everything.

2023-01-10 21:29:41 | [Mutex] isItemNotified: received:node:4145af4d-d4b4-4831-99b8-ded590a13ced:localhost:node-f56bde6b-1157-421b-9a54-698401e18713:Node f56bde6b-1157-421b-9a54-698401e18713 :: false

createNodes 1.420s
2023-01-10 21:29:37 |

2023-01-10 21:29:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-01-10 21:29:37 | ------------------------------------

2023-01-10 21:29:37 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-f56bde6b-1157-421b-9a54-698401e18713</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node f56bde6b-1157-421b-9a54-698401e18713</title></pubsub></data>

2023-01-10 21:29:38 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-01-10 21:29:39 | [Mutex] waiting for: [received:nodes:72a8b423-f1dc-4ca0-939d-75b333baf485:localhost]

2023-01-10 21:29:39 | [Mutex] received everything.

2023-01-10 21:29:39 | [Mutex] isItemNotified: received:node:72a8b423-f1dc-4ca0-939d-75b333baf485:localhost:node-f56bde6b-1157-421b-9a54-698401e18713:Node f56bde6b-1157-421b-9a54-698401e18713 :: true

createSubnodes 1.024s
2023-01-10 21:29:39 |

2023-01-10 21:29:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-01-10 21:29:39 | ------------------------------------

2023-01-10 21:29:39 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-6945e5cd-6621-45e6-9ce2-8f4466706715</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 6945e5cd-6621-45e6-9ce2-8f4466706715</title></pubsub></data>

2023-01-10 21:29:39 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-01-10 21:29:40 | [Mutex] waiting for: [received:nodes:097dbacc-3f6d-4c6e-bfc8-2a3b4cd8d31f:localhost]

2023-01-10 21:29:40 | [Mutex] waiting for: [received:nodes:097dbacc-3f6d-4c6e-bfc8-2a3b4cd8d31f:localhost]

2023-01-10 21:29:40 | [Mutex] waiting for: [received:nodes:097dbacc-3f6d-4c6e-bfc8-2a3b4cd8d31f:localhost]

2023-01-10 21:29:40 | [Mutex] received everything.

2023-01-10 21:29:40 | [Mutex] isItemNotified: received:node:097dbacc-3f6d-4c6e-bfc8-2a3b4cd8d31f:localhost:node-6945e5cd-6621-45e6-9ce2-8f4466706715:Node 6945e5cd-6621-45e6-9ce2-8f4466706715 :: true

deleteNodes 1.017s
2023-01-10 21:29:45 |

2023-01-10 21:29:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-01-10 21:29:45 | ------------------------------------

2023-01-10 21:29:45 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-6945e5cd-6621-45e6-9ce2-8f4466706715</node></data>

2023-01-10 21:29:45 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-01-10 21:29:46 | [Mutex] waiting for: [received:nodes:b30d6445-9c21-4aaa-8303-653821435f79:localhost]

2023-01-10 21:29:46 | [Mutex] waiting for: [received:nodes:b30d6445-9c21-4aaa-8303-653821435f79:localhost]

2023-01-10 21:29:46 | [Mutex] waiting for: [received:nodes:b30d6445-9c21-4aaa-8303-653821435f79:localhost]

2023-01-10 21:29:46 | [Mutex] received everything.

2023-01-10 21:29:46 | [Mutex] isItemNotified: received:node:b30d6445-9c21-4aaa-8303-653821435f79:localhost:node-6945e5cd-6621-45e6-9ce2-8f4466706715:Node 6945e5cd-6621-45e6-9ce2-8f4466706715 :: false

deleteSubnodes 1.118s
2023-01-10 21:29:44 |

2023-01-10 21:29:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-01-10 21:29:44 | ------------------------------------

2023-01-10 21:29:44 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-f56bde6b-1157-421b-9a54-698401e18713</node></data>

2023-01-10 21:29:44 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-01-10 21:29:45 | [Mutex] waiting for: [received:nodes:5ab1c0a7-4444-43e4-ad07-6dee7f8ea083:localhost]

2023-01-10 21:29:45 | [Mutex] received everything.

2023-01-10 21:29:45 | [Mutex] isItemNotified: received:node:5ab1c0a7-4444-43e4-ad07-6dee7f8ea083:localhost:node-f56bde6b-1157-421b-9a54-698401e18713:Node f56bde6b-1157-421b-9a54-698401e18713 :: false

2023-01-10 21:29:45 | [Mutex] waiting for: [received:nodes:7d1589e5-054e-4eee-b61c-265c3148206c:localhost]

2023-01-10 21:29:45 | [Mutex] received everything.

2023-01-10 21:29:45 | [Mutex] isItemNotified: received:node:7d1589e5-054e-4eee-b61c-265c3148206c:localhost:node-f56bde6b-1157-421b-9a54-698401e18713:Node f56bde6b-1157-421b-9a54-698401e18713 :: false

publishItemsToNodes 0.210s
2023-01-10 21:29:42 |

2023-01-10 21:29:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-01-10 21:29:42 | ------------------------------------

2023-01-10 21:29:42 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-f56bde6b-1157-421b-9a54-698401e18713</node><item-id>item-83ad1f02-69d3-43c6-80f7-8282818db2a2</item-id><entry><test>item-83ad1f02-69d3-43c6-80f7-8282818db2a2</test></entry></data>

2023-01-10 21:29:42 | 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-83ad1f02-69d3-43c6-80f7-8282818db2a2</value></item-id></result>

2023-01-10 21:29:42 | [Mutex] received everything.

2023-01-10 21:29:42 | [Mutex] isItemNotified: published:item:notifieditem-83ad1f02-69d3-43c6-80f7-8282818db2a2:admin@test-domain.com :: true

retractItemsFromNodes 0.291s
2023-01-10 21:29:43 |

2023-01-10 21:29:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-01-10 21:29:43 | ------------------------------------

2023-01-10 21:29:43 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-f56bde6b-1157-421b-9a54-698401e18713</node><item-id>item-83ad1f02-69d3-43c6-80f7-8282818db2a2</item-id></data>

2023-01-10 21:29:43 | 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-83ad1f02-69d3-43c6-80f7-8282818db2a2</value></item-id></result>

2023-01-10 21:29:43 | [Mutex] received everything.

2023-01-10 21:29:43 | [Mutex] isItemNotified: retracted:item:notifieditem-83ad1f02-69d3-43c6-80f7-8282818db2a2:admin@test-domain.com :: true

retrieveItemsFromNodes 0.243s
2023-01-10 21:29:42 |

2023-01-10 21:29:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-01-10 21:29:42 | ------------------------------------

2023-01-10 21:29:42 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-f56bde6b-1157-421b-9a54-698401e18713</node><item-id>item-83ad1f02-69d3-43c6-80f7-8282818db2a2</item-id></data>

2023-01-10 21:29:42 | 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-f56bde6b-1157-421b-9a54-698401e18713</value></node><item-id label="Item ID" type="text-single"><value>item-83ad1f02-69d3-43c6-80f7-8282818db2a2</value></item-id><item label="Item" type="text-multi"><value><item id="item-83ad1f02-69d3-43c6-80f7-8282818db2a2"><test>item-83ad1f02-69d3-43c6-80f7-8282818db2a2</test></item></value></item></result>

2023-01-10 21:29:42 | [Mutex] notify: [retrieved:item:item-83ad1f02-69d3-43c6-80f7-8282818db2a2:payload-matches:true:localhost]

2023-01-10 21:29:42 | [Mutex] received everything.

2023-01-10 21:29:42 | [Mutex] isItemNotified: retrieved:item:item-83ad1f02-69d3-43c6-80f7-8282818db2a2:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.104s
2023-01-10 21:29:42 |

2023-01-10 21:29:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-01-10 21:29:42 | ------------------------------------

2023-01-10 21:29:42 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2023-01-10 21:29:42 | 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-f56bde6b-1157-421b-9a54-698401e18713</value><value>node-6945e5cd-6621-45e6-9ce2-8f4466706715</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2023-01-10 21:29:42 |

2023-01-10 21:29:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-01-10 21:29:42 | ------------------------------------

2023-01-10 21:29:42 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-f56bde6b-1157-421b-9a54-698401e18713)</node-pattern></data>

2023-01-10 21:29:43 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.148s
2023-01-10 21:29:41 |

2023-01-10 21:29:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-01-10 21:29:41 | ------------------------------------

2023-01-10 21:29:41 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-f56bde6b-1157-421b-9a54-698401e18713</node><jids><value>admin@test-domain.com</value></jids></data>

2023-01-10 21:29:41 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.203s
2023-01-10 21:29:43 |

2023-01-10 21:29:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-01-10 21:29:43 | ------------------------------------

2023-01-10 21:29:43 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-f56bde6b-1157-421b-9a54-698401e18713</node><jids><value>admin@test-domain.com</value></jids></data>

2023-01-10 21:29:43 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>