Generated by TestNG with ReportNG at 06:35 PDT on Friday 23 September 2022
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.573s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.099s
2022-09-23 06:50:12 |

2022-09-23 06:50:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-23 06:50:12 | ------------------------------------

2022-09-23 06:50:12 | [Mutex] waiting for: [configured:node:node-dd245911-4307-4a98-a856-523500dde416:node-aadac19f-a58b-48ee-8748-2218709edcd6]

2022-09-23 06:50:12 | [Mutex] received everything.

2022-09-23 06:50:12 | [Mutex] isItemNotified: configured:node:node-dd245911-4307-4a98-a856-523500dde416:node-aadac19f-a58b-48ee-8748-2218709edcd6 :: true

2022-09-23 06:50:13 | [Mutex] waiting for: [received:nodes:cc69e4cc-64fa-4264-ba1f-ece13d8e75fe:localhost]

2022-09-23 06:50:13 | [Mutex] received everything.

2022-09-23 06:50:13 | [Mutex] isItemNotified: received:node:cc69e4cc-64fa-4264-ba1f-ece13d8e75fe:localhost:node-dd245911-4307-4a98-a856-523500dde416:Node dd245911-4307-4a98-a856-523500dde416 :: true

2022-09-23 06:50:13 | [Mutex] waiting for: [received:nodes:1bd6729c-ea8f-4d31-acec-61107e7c3afc:localhost]

2022-09-23 06:50:13 | [Mutex] waiting for: [received:nodes:1bd6729c-ea8f-4d31-acec-61107e7c3afc:localhost]

2022-09-23 06:50:13 | [Mutex] received everything.

2022-09-23 06:50:13 | [Mutex] isItemNotified: received:node:1bd6729c-ea8f-4d31-acec-61107e7c3afc:localhost:node-dd245911-4307-4a98-a856-523500dde416:Node dd245911-4307-4a98-a856-523500dde416 :: false

createNodes 1.482s
2022-09-23 06:50:09 |

2022-09-23 06:50:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-23 06:50:09 | ------------------------------------

2022-09-23 06:50:09 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-dd245911-4307-4a98-a856-523500dde416</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node dd245911-4307-4a98-a856-523500dde416</title></pubsub></data>

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

2022-09-23 06:50:10 | [Mutex] waiting for: [received:nodes:88a64346-0007-4915-b262-896df42d6326:localhost]

2022-09-23 06:50:10 | [Mutex] received everything.

2022-09-23 06:50:10 | [Mutex] isItemNotified: received:node:88a64346-0007-4915-b262-896df42d6326:localhost:node-dd245911-4307-4a98-a856-523500dde416:Node dd245911-4307-4a98-a856-523500dde416 :: true

createSubnodes 1.024s
2022-09-23 06:50:10 |

2022-09-23 06:50:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-23 06:50:10 | ------------------------------------

2022-09-23 06:50:10 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-aadac19f-a58b-48ee-8748-2218709edcd6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node aadac19f-a58b-48ee-8748-2218709edcd6</title></pubsub></data>

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

2022-09-23 06:50:11 | [Mutex] waiting for: [received:nodes:ba59db5d-3dbd-452f-8d39-c58ad20e0fbd:localhost]

2022-09-23 06:50:11 | [Mutex] waiting for: [received:nodes:ba59db5d-3dbd-452f-8d39-c58ad20e0fbd:localhost]

2022-09-23 06:50:11 | [Mutex] received everything.

2022-09-23 06:50:11 | [Mutex] isItemNotified: received:node:ba59db5d-3dbd-452f-8d39-c58ad20e0fbd:localhost:node-aadac19f-a58b-48ee-8748-2218709edcd6:Node aadac19f-a58b-48ee-8748-2218709edcd6 :: true

deleteNodes 1.022s
2022-09-23 06:50:17 |

2022-09-23 06:50:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-23 06:50:17 | ------------------------------------

2022-09-23 06:50:17 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-aadac19f-a58b-48ee-8748-2218709edcd6</node></data>

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

2022-09-23 06:50:18 | [Mutex] waiting for: [received:nodes:2379a066-b272-48b4-8937-c552833f20e6:localhost]

2022-09-23 06:50:18 | [Mutex] received everything.

2022-09-23 06:50:18 | [Mutex] isItemNotified: received:node:2379a066-b272-48b4-8937-c552833f20e6:localhost:node-aadac19f-a58b-48ee-8748-2218709edcd6:Node aadac19f-a58b-48ee-8748-2218709edcd6 :: false

deleteSubnodes 1.145s
2022-09-23 06:50:16 |

2022-09-23 06:50:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-23 06:50:16 | ------------------------------------

2022-09-23 06:50:16 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-dd245911-4307-4a98-a856-523500dde416</node></data>

2022-09-23 06:50:16 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-09-23 06:50:17 | [Mutex] waiting for: [received:nodes:bd219495-356b-4c45-902d-3746008eed75:localhost]

2022-09-23 06:50:17 | [Mutex] received everything.

2022-09-23 06:50:17 | [Mutex] isItemNotified: received:node:bd219495-356b-4c45-902d-3746008eed75:localhost:node-dd245911-4307-4a98-a856-523500dde416:Node dd245911-4307-4a98-a856-523500dde416 :: false

2022-09-23 06:50:17 | [Mutex] waiting for: [received:nodes:6a886fb5-a053-430a-bf21-d378f1da1dfa:localhost]

2022-09-23 06:50:17 | [Mutex] received everything.

2022-09-23 06:50:17 | [Mutex] isItemNotified: received:node:6a886fb5-a053-430a-bf21-d378f1da1dfa:localhost:node-dd245911-4307-4a98-a856-523500dde416:Node dd245911-4307-4a98-a856-523500dde416 :: false

publishItemsToNodes 0.213s
2022-09-23 06:50:14 |

2022-09-23 06:50:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-23 06:50:14 | ------------------------------------

2022-09-23 06:50:14 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-dd245911-4307-4a98-a856-523500dde416</node><item-id>item-3ad15847-7e96-4a3e-a00a-36a2ca73de20</item-id><entry><test>item-3ad15847-7e96-4a3e-a00a-36a2ca73de20</test></entry></data>

2022-09-23 06:50:14 | 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-3ad15847-7e96-4a3e-a00a-36a2ca73de20</value></item-id></result>

2022-09-23 06:50:14 | [Mutex] received everything.

2022-09-23 06:50:14 | [Mutex] isItemNotified: published:item:notifieditem-3ad15847-7e96-4a3e-a00a-36a2ca73de20:admin@test-domain.com :: true

retractItemsFromNodes 0.295s
2022-09-23 06:50:14 |

2022-09-23 06:50:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-23 06:50:14 | ------------------------------------

2022-09-23 06:50:14 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-dd245911-4307-4a98-a856-523500dde416</node><item-id>item-3ad15847-7e96-4a3e-a00a-36a2ca73de20</item-id></data>

2022-09-23 06:50:15 | 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-3ad15847-7e96-4a3e-a00a-36a2ca73de20</value></item-id></result>

2022-09-23 06:50:15 | [Mutex] received everything.

2022-09-23 06:50:15 | [Mutex] isItemNotified: retracted:item:notifieditem-3ad15847-7e96-4a3e-a00a-36a2ca73de20:admin@test-domain.com :: true

retrieveItemsFromNodes 0.251s
2022-09-23 06:50:14 |

2022-09-23 06:50:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-23 06:50:14 | ------------------------------------

2022-09-23 06:50:14 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-dd245911-4307-4a98-a856-523500dde416</node><item-id>item-3ad15847-7e96-4a3e-a00a-36a2ca73de20</item-id></data>

2022-09-23 06:50:14 | 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-dd245911-4307-4a98-a856-523500dde416</value></node><item-id label="Item ID" type="text-single"><value>item-3ad15847-7e96-4a3e-a00a-36a2ca73de20</value></item-id><item label="Item" type="text-multi"><value><item id="item-3ad15847-7e96-4a3e-a00a-36a2ca73de20"><test>item-3ad15847-7e96-4a3e-a00a-36a2ca73de20</test></item></value></item></result>

2022-09-23 06:50:14 | [Mutex] notify: [retrieved:item:item-3ad15847-7e96-4a3e-a00a-36a2ca73de20:payload-matches:true:localhost]

2022-09-23 06:50:14 | [Mutex] received everything.

2022-09-23 06:50:14 | [Mutex] isItemNotified: retrieved:item:item-3ad15847-7e96-4a3e-a00a-36a2ca73de20:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-09-23 06:50:14 |

2022-09-23 06:50:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-23 06:50:14 | ------------------------------------

2022-09-23 06:50:14 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-09-23 06:50:14 | 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-aadac19f-a58b-48ee-8748-2218709edcd6</value><value>node-dd245911-4307-4a98-a856-523500dde416</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-09-23 06:50:14 |

2022-09-23 06:50:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-23 06:50:14 | ------------------------------------

2022-09-23 06:50:14 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-dd245911-4307-4a98-a856-523500dde416)</node-pattern></data>

2022-09-23 06:50:14 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.124s
2022-09-23 06:50:13 |

2022-09-23 06:50:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-23 06:50:13 | ------------------------------------

2022-09-23 06:50:13 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-dd245911-4307-4a98-a856-523500dde416</node><jids><value>admin@test-domain.com</value></jids></data>

2022-09-23 06:50:13 | 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
2022-09-23 06:50:15 |

2022-09-23 06:50:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-23 06:50:15 | ------------------------------------

2022-09-23 06:50:15 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-dd245911-4307-4a98-a856-523500dde416</node><jids><value>admin@test-domain.com</value></jids></data>

2022-09-23 06:50:15 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>