Generated by TestNG with ReportNG at 21:42 PST on Wednesday 09 February 2022
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 : 9.993s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.091s
2022-02-09 21:56:07 |

2022-02-09 21:56:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-09 21:56:07 | ------------------------------------

2022-02-09 21:56:07 | [Mutex] waiting for: [configured:node:node-403cee29-ce51-4bf5-96fb-a70ef1460f50:node-34de4b32-cf6b-4645-b056-b1cdbd146915]

2022-02-09 21:56:07 | [Mutex] received everything.

2022-02-09 21:56:07 | [Mutex] isItemNotified: configured:node:node-403cee29-ce51-4bf5-96fb-a70ef1460f50:node-34de4b32-cf6b-4645-b056-b1cdbd146915 :: true

2022-02-09 21:56:08 | [Mutex] waiting for: [received:nodes:b30a6de8-3430-47ff-9b64-ea517028e409:localhost]

2022-02-09 21:56:08 | [Mutex] received everything.

2022-02-09 21:56:08 | [Mutex] isItemNotified: received:node:b30a6de8-3430-47ff-9b64-ea517028e409:localhost:node-403cee29-ce51-4bf5-96fb-a70ef1460f50:Node 403cee29-ce51-4bf5-96fb-a70ef1460f50 :: true

2022-02-09 21:56:08 | [Mutex] waiting for: [received:nodes:14677a13-e32f-4c65-8448-2dff33b81b6d:localhost]

2022-02-09 21:56:08 | [Mutex] received everything.

2022-02-09 21:56:08 | [Mutex] isItemNotified: received:node:14677a13-e32f-4c65-8448-2dff33b81b6d:localhost:node-403cee29-ce51-4bf5-96fb-a70ef1460f50:Node 403cee29-ce51-4bf5-96fb-a70ef1460f50 :: false

createNodes 1.535s
2022-02-09 21:56:04 |

2022-02-09 21:56:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-09 21:56:04 | ------------------------------------

2022-02-09 21:56:04 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-403cee29-ce51-4bf5-96fb-a70ef1460f50</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 403cee29-ce51-4bf5-96fb-a70ef1460f50</title></pubsub></data>

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

2022-02-09 21:56:06 | [Mutex] waiting for: [received:nodes:db943b2f-a794-48ed-ae15-fe9dafee1dbf:localhost]

2022-02-09 21:56:06 | [Mutex] received everything.

2022-02-09 21:56:06 | [Mutex] isItemNotified: received:node:db943b2f-a794-48ed-ae15-fe9dafee1dbf:localhost:node-403cee29-ce51-4bf5-96fb-a70ef1460f50:Node 403cee29-ce51-4bf5-96fb-a70ef1460f50 :: true

createSubnodes 1.035s
2022-02-09 21:56:06 |

2022-02-09 21:56:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-09 21:56:06 | ------------------------------------

2022-02-09 21:56:06 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-34de4b32-cf6b-4645-b056-b1cdbd146915</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 34de4b32-cf6b-4645-b056-b1cdbd146915</title></pubsub></data>

2022-02-09 21:56:06 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-09 21:56:07 | [Mutex] waiting for: [received:nodes:aabf73e0-76a8-4cee-b85d-9046f9ac086f:localhost]

2022-02-09 21:56:07 | [Mutex] received everything.

2022-02-09 21:56:07 | [Mutex] isItemNotified: received:node:aabf73e0-76a8-4cee-b85d-9046f9ac086f:localhost:node-34de4b32-cf6b-4645-b056-b1cdbd146915:Node 34de4b32-cf6b-4645-b056-b1cdbd146915 :: true

deleteNodes 1.018s
2022-02-09 21:56:12 |

2022-02-09 21:56:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-09 21:56:12 | ------------------------------------

2022-02-09 21:56:12 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-34de4b32-cf6b-4645-b056-b1cdbd146915</node></data>

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

2022-02-09 21:56:14 | [Mutex] waiting for: [received:nodes:b2a0fd65-9e49-49a0-b1d1-e5ab24f26640:localhost]

2022-02-09 21:56:14 | [Mutex] received everything.

2022-02-09 21:56:14 | [Mutex] isItemNotified: received:node:b2a0fd65-9e49-49a0-b1d1-e5ab24f26640:localhost:node-34de4b32-cf6b-4645-b056-b1cdbd146915:Node 34de4b32-cf6b-4645-b056-b1cdbd146915 :: false

deleteSubnodes 1.128s
2022-02-09 21:56:11 |

2022-02-09 21:56:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-09 21:56:11 | ------------------------------------

2022-02-09 21:56:11 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-403cee29-ce51-4bf5-96fb-a70ef1460f50</node></data>

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

2022-02-09 21:56:12 | [Mutex] waiting for: [received:nodes:5eba539e-2cd1-497c-8a37-6519f7d47b21:localhost]

2022-02-09 21:56:12 | [Mutex] received everything.

2022-02-09 21:56:12 | [Mutex] isItemNotified: received:node:5eba539e-2cd1-497c-8a37-6519f7d47b21:localhost:node-403cee29-ce51-4bf5-96fb-a70ef1460f50:Node 403cee29-ce51-4bf5-96fb-a70ef1460f50 :: false

2022-02-09 21:56:12 | [Mutex] waiting for: [received:nodes:fe48fbeb-ca61-4235-9fdd-5a0f29a70fdf:localhost]

2022-02-09 21:56:12 | [Mutex] received everything.

2022-02-09 21:56:12 | [Mutex] isItemNotified: received:node:fe48fbeb-ca61-4235-9fdd-5a0f29a70fdf:localhost:node-403cee29-ce51-4bf5-96fb-a70ef1460f50:Node 403cee29-ce51-4bf5-96fb-a70ef1460f50 :: false

publishItemsToNodes 0.224s
2022-02-09 21:56:09 |

2022-02-09 21:56:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-09 21:56:09 | ------------------------------------

2022-02-09 21:56:09 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-403cee29-ce51-4bf5-96fb-a70ef1460f50</node><item-id>item-22cb3e58-1ae3-44d1-8b67-1f540a8864e3</item-id><entry><test>item-22cb3e58-1ae3-44d1-8b67-1f540a8864e3</test></entry></data>

2022-02-09 21:56:09 | 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-22cb3e58-1ae3-44d1-8b67-1f540a8864e3</value></item-id></result>

2022-02-09 21:56:09 | [Mutex] received everything.

2022-02-09 21:56:09 | [Mutex] isItemNotified: published:item:notifieditem-22cb3e58-1ae3-44d1-8b67-1f540a8864e3:admin@test-domain.com :: true

retractItemsFromNodes 0.227s
2022-02-09 21:56:10 |

2022-02-09 21:56:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-09 21:56:10 | ------------------------------------

2022-02-09 21:56:10 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-403cee29-ce51-4bf5-96fb-a70ef1460f50</node><item-id>item-22cb3e58-1ae3-44d1-8b67-1f540a8864e3</item-id></data>

2022-02-09 21:56:10 | 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-22cb3e58-1ae3-44d1-8b67-1f540a8864e3</value></item-id></result>

2022-02-09 21:56:10 | [Mutex] received everything.

2022-02-09 21:56:10 | [Mutex] isItemNotified: retracted:item:notifieditem-22cb3e58-1ae3-44d1-8b67-1f540a8864e3:admin@test-domain.com :: true

retrieveItemsFromNodes 0.329s
2022-02-09 21:56:09 |

2022-02-09 21:56:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-09 21:56:09 | ------------------------------------

2022-02-09 21:56:09 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-403cee29-ce51-4bf5-96fb-a70ef1460f50</node><item-id>item-22cb3e58-1ae3-44d1-8b67-1f540a8864e3</item-id></data>

2022-02-09 21:56:10 | 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-403cee29-ce51-4bf5-96fb-a70ef1460f50</value></node><item-id type="text-single" label="Item ID"><value>item-22cb3e58-1ae3-44d1-8b67-1f540a8864e3</value></item-id><item type="text-multi" label="Item"><value><item id="item-22cb3e58-1ae3-44d1-8b67-1f540a8864e3"><test>item-22cb3e58-1ae3-44d1-8b67-1f540a8864e3</test></item></value></item></result>

2022-02-09 21:56:10 | [Mutex] notify: [retrieved:item:item-22cb3e58-1ae3-44d1-8b67-1f540a8864e3:payload-matches:true:localhost]

2022-02-09 21:56:10 | [Mutex] received everything.

2022-02-09 21:56:10 | [Mutex] isItemNotified: retrieved:item:item-22cb3e58-1ae3-44d1-8b67-1f540a8864e3:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-02-09 21:56:10 |

2022-02-09 21:56:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-09 21:56:10 | ------------------------------------

2022-02-09 21:56:10 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-02-09 21:56:10 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-34de4b32-cf6b-4645-b056-b1cdbd146915</value><value>node-403cee29-ce51-4bf5-96fb-a70ef1460f50</value><value>test</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-02-09 21:56:10 |

2022-02-09 21:56:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-09 21:56:10 | ------------------------------------

2022-02-09 21:56:10 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-403cee29-ce51-4bf5-96fb-a70ef1460f50)</node-pattern></data>

2022-02-09 21:56:10 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.182s
2022-02-09 21:56:08 |

2022-02-09 21:56:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-09 21:56:08 | ------------------------------------

2022-02-09 21:56:08 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-403cee29-ce51-4bf5-96fb-a70ef1460f50</node><jids><value>admin@test-domain.com</value></jids></data>

2022-02-09 21:56:08 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.271s
2022-02-09 21:56:10 |

2022-02-09 21:56:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-09 21:56:10 | ------------------------------------

2022-02-09 21:56:10 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-403cee29-ce51-4bf5-96fb-a70ef1460f50</node><jids><value>admin@test-domain.com</value></jids></data>

2022-02-09 21:56:10 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>