Generated by TestNG with ReportNG at 22:53 PDT on Monday 31 July 2023
root@f44fc83e2390 / Java 17.0.7 (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.397s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.113s
2023-07-31 23:07:13 |

2023-07-31 23:07:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-31 23:07:13 | ------------------------------------

2023-07-31 23:07:13 | [Mutex] waiting for: [configured:node:node-232eac65-c48c-4a92-a45c-3989491ecce2:node-1d84bf2a-588f-42d0-8104-3e012970625a]

2023-07-31 23:07:13 | [Mutex] received everything.

2023-07-31 23:07:13 | [Mutex] isItemNotified: configured:node:node-232eac65-c48c-4a92-a45c-3989491ecce2:node-1d84bf2a-588f-42d0-8104-3e012970625a :: true

2023-07-31 23:07:14 | [Mutex] waiting for: [received:nodes:b3ef2e07-f51d-458f-9103-d70ef2077110:localhost]

2023-07-31 23:07:14 | [Mutex] received everything.

2023-07-31 23:07:14 | [Mutex] isItemNotified: received:node:b3ef2e07-f51d-458f-9103-d70ef2077110:localhost:node-232eac65-c48c-4a92-a45c-3989491ecce2:Node 232eac65-c48c-4a92-a45c-3989491ecce2 :: true

2023-07-31 23:07:14 | [Mutex] waiting for: [received:nodes:350274e5-e077-422f-b476-481c8a4757a5:localhost]

2023-07-31 23:07:14 | [Mutex] waiting for: [received:nodes:350274e5-e077-422f-b476-481c8a4757a5:localhost]

2023-07-31 23:07:14 | [Mutex] waiting for: [received:nodes:350274e5-e077-422f-b476-481c8a4757a5:localhost]

2023-07-31 23:07:14 | [Mutex] received everything.

2023-07-31 23:07:14 | [Mutex] isItemNotified: received:node:350274e5-e077-422f-b476-481c8a4757a5:localhost:node-232eac65-c48c-4a92-a45c-3989491ecce2:Node 232eac65-c48c-4a92-a45c-3989491ecce2 :: false

createNodes 1.359s
2023-07-31 23:07:10 |

2023-07-31 23:07:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-31 23:07:10 | ------------------------------------

2023-07-31 23:07:10 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-232eac65-c48c-4a92-a45c-3989491ecce2</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 232eac65-c48c-4a92-a45c-3989491ecce2</title></pubsub></data>

2023-07-31 23:07:11 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-07-31 23:07:12 | [Mutex] waiting for: [received:nodes:d0fe362b-9af4-4547-a874-71971b83afc8:localhost]

2023-07-31 23:07:12 | [Mutex] waiting for: [received:nodes:d0fe362b-9af4-4547-a874-71971b83afc8:localhost]

2023-07-31 23:07:12 | [Mutex] waiting for: [received:nodes:d0fe362b-9af4-4547-a874-71971b83afc8:localhost]

2023-07-31 23:07:12 | [Mutex] received everything.

2023-07-31 23:07:12 | [Mutex] isItemNotified: received:node:d0fe362b-9af4-4547-a874-71971b83afc8:localhost:node-232eac65-c48c-4a92-a45c-3989491ecce2:Node 232eac65-c48c-4a92-a45c-3989491ecce2 :: true

createSubnodes 1.028s
2023-07-31 23:07:12 |

2023-07-31 23:07:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-31 23:07:12 | ------------------------------------

2023-07-31 23:07:12 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-1d84bf2a-588f-42d0-8104-3e012970625a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 1d84bf2a-588f-42d0-8104-3e012970625a</title></pubsub></data>

2023-07-31 23:07:12 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-07-31 23:07:13 | [Mutex] waiting for: [received:nodes:d9244abc-c479-4225-b842-08db4e883717:localhost]

2023-07-31 23:07:13 | [Mutex] waiting for: [received:nodes:d9244abc-c479-4225-b842-08db4e883717:localhost]

2023-07-31 23:07:13 | [Mutex] waiting for: [received:nodes:d9244abc-c479-4225-b842-08db4e883717:localhost]

2023-07-31 23:07:13 | [Mutex] waiting for: [received:nodes:d9244abc-c479-4225-b842-08db4e883717:localhost]

2023-07-31 23:07:13 | [Mutex] received everything.

2023-07-31 23:07:13 | [Mutex] isItemNotified: received:node:d9244abc-c479-4225-b842-08db4e883717:localhost:node-1d84bf2a-588f-42d0-8104-3e012970625a:Node 1d84bf2a-588f-42d0-8104-3e012970625a :: true

deleteNodes 1.015s
2023-07-31 23:07:18 |

2023-07-31 23:07:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-31 23:07:18 | ------------------------------------

2023-07-31 23:07:18 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-1d84bf2a-588f-42d0-8104-3e012970625a</node></data>

2023-07-31 23:07:18 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-07-31 23:07:19 | [Mutex] waiting for: [received:nodes:05913888-8a31-4c7a-85ae-12ad88eb9743:localhost]

2023-07-31 23:07:19 | [Mutex] waiting for: [received:nodes:05913888-8a31-4c7a-85ae-12ad88eb9743:localhost]

2023-07-31 23:07:19 | [Mutex] waiting for: [received:nodes:05913888-8a31-4c7a-85ae-12ad88eb9743:localhost]

2023-07-31 23:07:19 | [Mutex] received everything.

2023-07-31 23:07:19 | [Mutex] isItemNotified: received:node:05913888-8a31-4c7a-85ae-12ad88eb9743:localhost:node-1d84bf2a-588f-42d0-8104-3e012970625a:Node 1d84bf2a-588f-42d0-8104-3e012970625a :: false

deleteSubnodes 1.197s
2023-07-31 23:07:17 |

2023-07-31 23:07:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-31 23:07:17 | ------------------------------------

2023-07-31 23:07:17 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-232eac65-c48c-4a92-a45c-3989491ecce2</node></data>

2023-07-31 23:07:17 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-07-31 23:07:18 | [Mutex] waiting for: [received:nodes:09fd7deb-98b1-43ab-aa78-c980900ff0f3:localhost]

2023-07-31 23:07:18 | [Mutex] waiting for: [received:nodes:09fd7deb-98b1-43ab-aa78-c980900ff0f3:localhost]

2023-07-31 23:07:18 | [Mutex] waiting for: [received:nodes:09fd7deb-98b1-43ab-aa78-c980900ff0f3:localhost]

2023-07-31 23:07:18 | [Mutex] waiting for: [received:nodes:09fd7deb-98b1-43ab-aa78-c980900ff0f3:localhost]

2023-07-31 23:07:18 | [Mutex] received everything.

2023-07-31 23:07:18 | [Mutex] isItemNotified: received:node:09fd7deb-98b1-43ab-aa78-c980900ff0f3:localhost:node-232eac65-c48c-4a92-a45c-3989491ecce2:Node 232eac65-c48c-4a92-a45c-3989491ecce2 :: false

2023-07-31 23:07:18 | [Mutex] waiting for: [received:nodes:f41af07e-4cf9-4358-a35d-1f6336c54e82:localhost]

2023-07-31 23:07:18 | [Mutex] received everything.

2023-07-31 23:07:18 | [Mutex] isItemNotified: received:node:f41af07e-4cf9-4358-a35d-1f6336c54e82:localhost:node-232eac65-c48c-4a92-a45c-3989491ecce2:Node 232eac65-c48c-4a92-a45c-3989491ecce2 :: false

publishItemsToNodes 0.202s
2023-07-31 23:07:15 |

2023-07-31 23:07:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-31 23:07:15 | ------------------------------------

2023-07-31 23:07:15 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-232eac65-c48c-4a92-a45c-3989491ecce2</node><item-id>item-16cc270e-baea-4b1f-b22b-9eb5483d4ea1</item-id><entry><test>item-16cc270e-baea-4b1f-b22b-9eb5483d4ea1</test></entry></data>

2023-07-31 23:07:15 | 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-16cc270e-baea-4b1f-b22b-9eb5483d4ea1</value></item-id></result>

2023-07-31 23:07:15 | [Mutex] received everything.

2023-07-31 23:07:15 | [Mutex] isItemNotified: published:item:notifieditem-16cc270e-baea-4b1f-b22b-9eb5483d4ea1:admin@test-domain.com :: true

retractItemsFromNodes 0.235s
2023-07-31 23:07:15 |

2023-07-31 23:07:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-31 23:07:15 | ------------------------------------

2023-07-31 23:07:15 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-232eac65-c48c-4a92-a45c-3989491ecce2</node><item-id>item-16cc270e-baea-4b1f-b22b-9eb5483d4ea1</item-id></data>

2023-07-31 23:07:16 | 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-16cc270e-baea-4b1f-b22b-9eb5483d4ea1</value></item-id></result>

2023-07-31 23:07:16 | [Mutex] received everything.

2023-07-31 23:07:16 | [Mutex] isItemNotified: retracted:item:notifieditem-16cc270e-baea-4b1f-b22b-9eb5483d4ea1:admin@test-domain.com :: true

retrieveItemsFromNodes 0.236s
2023-07-31 23:07:15 |

2023-07-31 23:07:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-31 23:07:15 | ------------------------------------

2023-07-31 23:07:15 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-232eac65-c48c-4a92-a45c-3989491ecce2</node><item-id>item-16cc270e-baea-4b1f-b22b-9eb5483d4ea1</item-id></data>

2023-07-31 23:07:15 | 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-232eac65-c48c-4a92-a45c-3989491ecce2</value></node><item-id type="text-single" label="Item ID"><value>item-16cc270e-baea-4b1f-b22b-9eb5483d4ea1</value></item-id><item type="text-multi" label="Item"><value><item id="item-16cc270e-baea-4b1f-b22b-9eb5483d4ea1"><test>item-16cc270e-baea-4b1f-b22b-9eb5483d4ea1</test></item></value></item></result>

2023-07-31 23:07:15 | [Mutex] notify: [retrieved:item:item-16cc270e-baea-4b1f-b22b-9eb5483d4ea1:payload-matches:true:localhost]

2023-07-31 23:07:15 | [Mutex] received everything.

2023-07-31 23:07:15 | [Mutex] isItemNotified: retrieved:item:item-16cc270e-baea-4b1f-b22b-9eb5483d4ea1:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-07-31 23:07:15 |

2023-07-31 23:07:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-31 23:07:15 | ------------------------------------

2023-07-31 23:07:15 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2023-07-31 23:07:15 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-232eac65-c48c-4a92-a45c-3989491ecce2</value><value>test</value><value>node-1d84bf2a-588f-42d0-8104-3e012970625a</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-07-31 23:07:15 |

2023-07-31 23:07:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-31 23:07:15 | ------------------------------------

2023-07-31 23:07:15 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-232eac65-c48c-4a92-a45c-3989491ecce2)</node-pattern></data>

2023-07-31 23:07:15 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.112s
2023-07-31 23:07:14 |

2023-07-31 23:07:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-31 23:07:14 | ------------------------------------

2023-07-31 23:07:14 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-232eac65-c48c-4a92-a45c-3989491ecce2</node><jids><value>admin@test-domain.com</value></jids></data>

2023-07-31 23:07:14 | 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-07-31 23:07:16 |

2023-07-31 23:07:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-31 23:07:16 | ------------------------------------

2023-07-31 23:07:16 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-232eac65-c48c-4a92-a45c-3989491ecce2</node><jids><value>admin@test-domain.com</value></jids></data>

2023-07-31 23:07:16 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>