Generated by TestNG with ReportNG at 22:30 PDT on Monday 29 May 2023
root@8f5c98824654 / Java 17.0.6 (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.435s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.105s
2023-05-29 22:45:16 |

2023-05-29 22:45:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-29 22:45:16 | ------------------------------------

2023-05-29 22:45:16 | [Mutex] waiting for: [configured:node:node-0a69a5ae-19f5-4f0f-ada4-5bf0858d069b:node-55814925-61ba-47ff-847f-e404a6607151]

2023-05-29 22:45:16 | [Mutex] received everything.

2023-05-29 22:45:16 | [Mutex] isItemNotified: configured:node:node-0a69a5ae-19f5-4f0f-ada4-5bf0858d069b:node-55814925-61ba-47ff-847f-e404a6607151 :: true

2023-05-29 22:45:17 | [Mutex] waiting for: [received:nodes:e443461b-e809-48a3-8feb-8e67e95f79cd:localhost]

2023-05-29 22:45:17 | [Mutex] received everything.

2023-05-29 22:45:17 | [Mutex] isItemNotified: received:node:e443461b-e809-48a3-8feb-8e67e95f79cd:localhost:node-0a69a5ae-19f5-4f0f-ada4-5bf0858d069b:Node 0a69a5ae-19f5-4f0f-ada4-5bf0858d069b :: true

2023-05-29 22:45:17 | [Mutex] waiting for: [received:nodes:ea955b02-c34c-46aa-a715-b594e4722ac4:localhost]

2023-05-29 22:45:17 | [Mutex] waiting for: [received:nodes:ea955b02-c34c-46aa-a715-b594e4722ac4:localhost]

2023-05-29 22:45:17 | [Mutex] waiting for: [received:nodes:ea955b02-c34c-46aa-a715-b594e4722ac4:localhost]

2023-05-29 22:45:17 | [Mutex] received everything.

2023-05-29 22:45:17 | [Mutex] isItemNotified: received:node:ea955b02-c34c-46aa-a715-b594e4722ac4:localhost:node-0a69a5ae-19f5-4f0f-ada4-5bf0858d069b:Node 0a69a5ae-19f5-4f0f-ada4-5bf0858d069b :: false

createNodes 1.425s
2023-05-29 22:45:14 |

2023-05-29 22:45:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-29 22:45:14 | ------------------------------------

2023-05-29 22:45:14 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-0a69a5ae-19f5-4f0f-ada4-5bf0858d069b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 0a69a5ae-19f5-4f0f-ada4-5bf0858d069b</title></pubsub></data>

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

2023-05-29 22:45:15 | [Mutex] waiting for: [received:nodes:e3e59faf-7e54-4613-884b-fcb554d495ef:localhost]

2023-05-29 22:45:15 | [Mutex] waiting for: [received:nodes:e3e59faf-7e54-4613-884b-fcb554d495ef:localhost]

2023-05-29 22:45:15 | [Mutex] waiting for: [received:nodes:e3e59faf-7e54-4613-884b-fcb554d495ef:localhost]

2023-05-29 22:45:15 | [Mutex] received everything.

2023-05-29 22:45:15 | [Mutex] isItemNotified: received:node:e3e59faf-7e54-4613-884b-fcb554d495ef:localhost:node-0a69a5ae-19f5-4f0f-ada4-5bf0858d069b:Node 0a69a5ae-19f5-4f0f-ada4-5bf0858d069b :: true

createSubnodes 1.029s
2023-05-29 22:45:15 |

2023-05-29 22:45:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-29 22:45:15 | ------------------------------------

2023-05-29 22:45:15 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-55814925-61ba-47ff-847f-e404a6607151</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 55814925-61ba-47ff-847f-e404a6607151</title></pubsub></data>

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

2023-05-29 22:45:16 | [Mutex] waiting for: [received:nodes:9f61e295-7623-4b01-832c-c832a2407ecf:localhost]

2023-05-29 22:45:16 | [Mutex] waiting for: [received:nodes:9f61e295-7623-4b01-832c-c832a2407ecf:localhost]

2023-05-29 22:45:16 | [Mutex] waiting for: [received:nodes:9f61e295-7623-4b01-832c-c832a2407ecf:localhost]

2023-05-29 22:45:16 | [Mutex] waiting for: [received:nodes:9f61e295-7623-4b01-832c-c832a2407ecf:localhost]

2023-05-29 22:45:16 | [Mutex] received everything.

2023-05-29 22:45:16 | [Mutex] isItemNotified: received:node:9f61e295-7623-4b01-832c-c832a2407ecf:localhost:node-55814925-61ba-47ff-847f-e404a6607151:Node 55814925-61ba-47ff-847f-e404a6607151 :: true

deleteNodes 1.025s
2023-05-29 22:45:22 |

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

2023-05-29 22:45:22 | ------------------------------------

2023-05-29 22:45:22 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-55814925-61ba-47ff-847f-e404a6607151</node></data>

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

2023-05-29 22:45:23 | [Mutex] waiting for: [received:nodes:7b365ce0-27c8-425c-b1fa-cc2efafa97bc:localhost]

2023-05-29 22:45:23 | [Mutex] waiting for: [received:nodes:7b365ce0-27c8-425c-b1fa-cc2efafa97bc:localhost]

2023-05-29 22:45:23 | [Mutex] waiting for: [received:nodes:7b365ce0-27c8-425c-b1fa-cc2efafa97bc:localhost]

2023-05-29 22:45:23 | [Mutex] received everything.

2023-05-29 22:45:23 | [Mutex] isItemNotified: received:node:7b365ce0-27c8-425c-b1fa-cc2efafa97bc:localhost:node-55814925-61ba-47ff-847f-e404a6607151:Node 55814925-61ba-47ff-847f-e404a6607151 :: false

deleteSubnodes 1.107s
2023-05-29 22:45:21 |

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

2023-05-29 22:45:21 | ------------------------------------

2023-05-29 22:45:21 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-0a69a5ae-19f5-4f0f-ada4-5bf0858d069b</node></data>

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

2023-05-29 22:45:22 | [Mutex] waiting for: [received:nodes:c37cf0cb-ad84-43aa-a612-993c9674c2ab:localhost]

2023-05-29 22:45:22 | [Mutex] waiting for: [received:nodes:c37cf0cb-ad84-43aa-a612-993c9674c2ab:localhost]

2023-05-29 22:45:22 | [Mutex] waiting for: [received:nodes:c37cf0cb-ad84-43aa-a612-993c9674c2ab:localhost]

2023-05-29 22:45:22 | [Mutex] waiting for: [received:nodes:c37cf0cb-ad84-43aa-a612-993c9674c2ab:localhost]

2023-05-29 22:45:22 | [Mutex] received everything.

2023-05-29 22:45:22 | [Mutex] isItemNotified: received:node:c37cf0cb-ad84-43aa-a612-993c9674c2ab:localhost:node-0a69a5ae-19f5-4f0f-ada4-5bf0858d069b:Node 0a69a5ae-19f5-4f0f-ada4-5bf0858d069b :: false

2023-05-29 22:45:22 | [Mutex] waiting for: [received:nodes:b2633594-d76b-4aab-8df6-f0af37dfa2de:localhost]

2023-05-29 22:45:22 | [Mutex] received everything.

2023-05-29 22:45:22 | [Mutex] isItemNotified: received:node:b2633594-d76b-4aab-8df6-f0af37dfa2de:localhost:node-0a69a5ae-19f5-4f0f-ada4-5bf0858d069b:Node 0a69a5ae-19f5-4f0f-ada4-5bf0858d069b :: false

publishItemsToNodes 0.178s
2023-05-29 22:45:19 |

2023-05-29 22:45:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-29 22:45:19 | ------------------------------------

2023-05-29 22:45:19 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-0a69a5ae-19f5-4f0f-ada4-5bf0858d069b</node><item-id>item-b6164bc4-5c76-4cb1-82e1-04077c82135c</item-id><entry><test>item-b6164bc4-5c76-4cb1-82e1-04077c82135c</test></entry></data>

2023-05-29 22:45:19 | 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-b6164bc4-5c76-4cb1-82e1-04077c82135c</value></item-id></result>

2023-05-29 22:45:19 | [Mutex] received everything.

2023-05-29 22:45:19 | [Mutex] isItemNotified: published:item:notifieditem-b6164bc4-5c76-4cb1-82e1-04077c82135c:admin@test-domain.com :: true

retractItemsFromNodes 0.344s
2023-05-29 22:45:19 |

2023-05-29 22:45:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-29 22:45:19 | ------------------------------------

2023-05-29 22:45:19 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-0a69a5ae-19f5-4f0f-ada4-5bf0858d069b</node><item-id>item-b6164bc4-5c76-4cb1-82e1-04077c82135c</item-id></data>

2023-05-29 22:45: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-b6164bc4-5c76-4cb1-82e1-04077c82135c</value></item-id></result>

2023-05-29 22:45:19 | [Mutex] waiting for: [retracted:item:notifieditem-b6164bc4-5c76-4cb1-82e1-04077c82135c:admin@test-domain.com]

2023-05-29 22:45:19 | [Mutex] received everything.

2023-05-29 22:45:19 | [Mutex] isItemNotified: retracted:item:notifieditem-b6164bc4-5c76-4cb1-82e1-04077c82135c:admin@test-domain.com :: true

retrieveItemsFromNodes 0.232s
2023-05-29 22:45:19 |

2023-05-29 22:45:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-29 22:45:19 | ------------------------------------

2023-05-29 22:45:19 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-0a69a5ae-19f5-4f0f-ada4-5bf0858d069b</node><item-id>item-b6164bc4-5c76-4cb1-82e1-04077c82135c</item-id></data>

2023-05-29 22:45:19 | 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-0a69a5ae-19f5-4f0f-ada4-5bf0858d069b</value></node><item-id type="text-single" label="Item ID"><value>item-b6164bc4-5c76-4cb1-82e1-04077c82135c</value></item-id><item type="text-multi" label="Item"><value><item id="item-b6164bc4-5c76-4cb1-82e1-04077c82135c"><test>item-b6164bc4-5c76-4cb1-82e1-04077c82135c</test></item></value></item></result>

2023-05-29 22:45:19 | [Mutex] notify: [retrieved:item:item-b6164bc4-5c76-4cb1-82e1-04077c82135c:payload-matches:true:localhost]

2023-05-29 22:45:19 | [Mutex] received everything.

2023-05-29 22:45:19 | [Mutex] isItemNotified: retrieved:item:item-b6164bc4-5c76-4cb1-82e1-04077c82135c:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2023-05-29 22:45:19 |

2023-05-29 22:45:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-29 22:45:19 | ------------------------------------

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

2023-05-29 22:45:19 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-0a69a5ae-19f5-4f0f-ada4-5bf0858d069b</value><value>test</value><value>node-55814925-61ba-47ff-847f-e404a6607151</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-05-29 22:45:19 |

2023-05-29 22:45:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-29 22:45:19 | ------------------------------------

2023-05-29 22:45:19 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-0a69a5ae-19f5-4f0f-ada4-5bf0858d069b)</node-pattern></data>

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

subscribeNodes 1.114s
2023-05-29 22:45:17 |

2023-05-29 22:45:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-29 22:45:17 | ------------------------------------

2023-05-29 22:45:17 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-0a69a5ae-19f5-4f0f-ada4-5bf0858d069b</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.178s
2023-05-29 22:45:19 |

2023-05-29 22:45:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-29 22:45:19 | ------------------------------------

2023-05-29 22:45:19 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-0a69a5ae-19f5-4f0f-ada4-5bf0858d069b</node><jids><value>admin@test-domain.com</value></jids></data>

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