Generated by TestNG with ReportNG at 22:01 PST on Wednesday 09 February 2022
root@b2c2a8eba6e6 / 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 : 10.324s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.123s
2022-02-09 22:20:01 |

2022-02-09 22:20:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-09 22:20:01 | ------------------------------------

2022-02-09 22:20:01 | [Mutex] waiting for: [configured:node:node-3586a97c-e50f-4bcc-85cc-1c80dbe94924:node-1cbbe25b-69f6-4eeb-8d2a-0f611aed78ce]

2022-02-09 22:20:01 | [Mutex] received everything.

2022-02-09 22:20:01 | [Mutex] isItemNotified: configured:node:node-3586a97c-e50f-4bcc-85cc-1c80dbe94924:node-1cbbe25b-69f6-4eeb-8d2a-0f611aed78ce :: true

2022-02-09 22:20:02 | [Mutex] waiting for: [received:nodes:9e2be514-ae78-446e-be20-30e3d58cd316:localhost]

2022-02-09 22:20:02 | [Mutex] received everything.

2022-02-09 22:20:02 | [Mutex] isItemNotified: received:node:9e2be514-ae78-446e-be20-30e3d58cd316:localhost:node-3586a97c-e50f-4bcc-85cc-1c80dbe94924:Node 3586a97c-e50f-4bcc-85cc-1c80dbe94924 :: true

2022-02-09 22:20:02 | [Mutex] waiting for: [received:nodes:6e0c387e-a9ee-42ad-bf74-2729b2f6ac95:localhost]

2022-02-09 22:20:02 | [Mutex] received everything.

2022-02-09 22:20:02 | [Mutex] isItemNotified: received:node:6e0c387e-a9ee-42ad-bf74-2729b2f6ac95:localhost:node-3586a97c-e50f-4bcc-85cc-1c80dbe94924:Node 3586a97c-e50f-4bcc-85cc-1c80dbe94924 :: false

createNodes 1.490s
2022-02-09 22:19:58 |

2022-02-09 22:19:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-09 22:19:58 | ------------------------------------

2022-02-09 22:19:58 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-3586a97c-e50f-4bcc-85cc-1c80dbe94924</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 3586a97c-e50f-4bcc-85cc-1c80dbe94924</title></pubsub></data>

2022-02-09 22:19:59 | 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 22:20:00 | [Mutex] waiting for: [received:nodes:a78b1f5b-87d4-41fe-b583-c37a5816f764:localhost]

2022-02-09 22:20:00 | [Mutex] received everything.

2022-02-09 22:20:00 | [Mutex] isItemNotified: received:node:a78b1f5b-87d4-41fe-b583-c37a5816f764:localhost:node-3586a97c-e50f-4bcc-85cc-1c80dbe94924:Node 3586a97c-e50f-4bcc-85cc-1c80dbe94924 :: true

createSubnodes 1.028s
2022-02-09 22:20:00 |

2022-02-09 22:20:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-09 22:20:00 | ------------------------------------

2022-02-09 22:20:00 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-1cbbe25b-69f6-4eeb-8d2a-0f611aed78ce</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 1cbbe25b-69f6-4eeb-8d2a-0f611aed78ce</title></pubsub></data>

2022-02-09 22:20:00 | 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 22:20:01 | [Mutex] waiting for: [received:nodes:f6335434-b249-4ce1-ac13-a904a22553d5:localhost]

2022-02-09 22:20:01 | [Mutex] received everything.

2022-02-09 22:20:01 | [Mutex] isItemNotified: received:node:f6335434-b249-4ce1-ac13-a904a22553d5:localhost:node-1cbbe25b-69f6-4eeb-8d2a-0f611aed78ce:Node 1cbbe25b-69f6-4eeb-8d2a-0f611aed78ce :: true

deleteNodes 1.022s
2022-02-09 22:20:06 |

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

2022-02-09 22:20:06 | ------------------------------------

2022-02-09 22:20:06 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-1cbbe25b-69f6-4eeb-8d2a-0f611aed78ce</node></data>

2022-02-09 22:20:06 | 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 22:20:07 | [Mutex] waiting for: [received:nodes:d0aa2a6a-6bcb-46f1-9e83-88e8c6f80451:localhost]

2022-02-09 22:20:07 | [Mutex] received everything.

2022-02-09 22:20:07 | [Mutex] isItemNotified: received:node:d0aa2a6a-6bcb-46f1-9e83-88e8c6f80451:localhost:node-1cbbe25b-69f6-4eeb-8d2a-0f611aed78ce:Node 1cbbe25b-69f6-4eeb-8d2a-0f611aed78ce :: false

deleteSubnodes 1.145s
2022-02-09 22:20:05 |

2022-02-09 22:20:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-09 22:20:05 | ------------------------------------

2022-02-09 22:20:05 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-3586a97c-e50f-4bcc-85cc-1c80dbe94924</node></data>

2022-02-09 22:20:05 | 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 22:20:06 | [Mutex] waiting for: [received:nodes:fe13db16-6b1d-4faa-bbeb-9fc87dbc03db:localhost]

2022-02-09 22:20:06 | [Mutex] received everything.

2022-02-09 22:20:06 | [Mutex] isItemNotified: received:node:fe13db16-6b1d-4faa-bbeb-9fc87dbc03db:localhost:node-3586a97c-e50f-4bcc-85cc-1c80dbe94924:Node 3586a97c-e50f-4bcc-85cc-1c80dbe94924 :: false

2022-02-09 22:20:06 | [Mutex] waiting for: [received:nodes:204797c5-c2eb-4e2c-bcbb-23fe78b8afc9:localhost]

2022-02-09 22:20:06 | [Mutex] received everything.

2022-02-09 22:20:06 | [Mutex] isItemNotified: received:node:204797c5-c2eb-4e2c-bcbb-23fe78b8afc9:localhost:node-3586a97c-e50f-4bcc-85cc-1c80dbe94924:Node 3586a97c-e50f-4bcc-85cc-1c80dbe94924 :: false

publishItemsToNodes 0.271s
2022-02-09 22:20:03 |

2022-02-09 22:20:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-09 22:20:03 | ------------------------------------

2022-02-09 22:20:03 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-3586a97c-e50f-4bcc-85cc-1c80dbe94924</node><item-id>item-9314a403-fa4b-4547-8087-a1270bd4ace9</item-id><entry><test>item-9314a403-fa4b-4547-8087-a1270bd4ace9</test></entry></data>

2022-02-09 22:20:03 | 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-9314a403-fa4b-4547-8087-a1270bd4ace9</value></item-id></result>

2022-02-09 22:20:03 | [Mutex] received everything.

2022-02-09 22:20:03 | [Mutex] isItemNotified: published:item:notifieditem-9314a403-fa4b-4547-8087-a1270bd4ace9:admin@test-domain.com :: true

retractItemsFromNodes 0.284s
2022-02-09 22:20:04 |

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

2022-02-09 22:20:04 | ------------------------------------

2022-02-09 22:20:04 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-3586a97c-e50f-4bcc-85cc-1c80dbe94924</node><item-id>item-9314a403-fa4b-4547-8087-a1270bd4ace9</item-id></data>

2022-02-09 22:20:04 | 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-9314a403-fa4b-4547-8087-a1270bd4ace9</value></item-id></result>

2022-02-09 22:20:04 | [Mutex] received everything.

2022-02-09 22:20:04 | [Mutex] isItemNotified: retracted:item:notifieditem-9314a403-fa4b-4547-8087-a1270bd4ace9:admin@test-domain.com :: true

retrieveItemsFromNodes 0.366s
2022-02-09 22:20:03 |

2022-02-09 22:20:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-09 22:20:03 | ------------------------------------

2022-02-09 22:20:03 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-3586a97c-e50f-4bcc-85cc-1c80dbe94924</node><item-id>item-9314a403-fa4b-4547-8087-a1270bd4ace9</item-id></data>

2022-02-09 22:20:03 | 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-3586a97c-e50f-4bcc-85cc-1c80dbe94924</value></node><item-id type="text-single" label="Item ID"><value>item-9314a403-fa4b-4547-8087-a1270bd4ace9</value></item-id><item type="text-multi" label="Item"><value><item id="item-9314a403-fa4b-4547-8087-a1270bd4ace9"><test>item-9314a403-fa4b-4547-8087-a1270bd4ace9</test></item></value></item></result>

2022-02-09 22:20:03 | [Mutex] notify: [retrieved:item:item-9314a403-fa4b-4547-8087-a1270bd4ace9:payload-matches:true:localhost]

2022-02-09 22:20:03 | [Mutex] received everything.

2022-02-09 22:20:03 | [Mutex] isItemNotified: retrieved:item:item-9314a403-fa4b-4547-8087-a1270bd4ace9:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-02-09 22:20:03 |

2022-02-09 22:20:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-09 22:20:03 | ------------------------------------

2022-02-09 22:20:03 | 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 22:20:04 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-3586a97c-e50f-4bcc-85cc-1c80dbe94924</value><value>node-1cbbe25b-69f6-4eeb-8d2a-0f611aed78ce</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2022-02-09 22:20:04 |

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

2022-02-09 22:20:04 | ------------------------------------

2022-02-09 22:20:04 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-3586a97c-e50f-4bcc-85cc-1c80dbe94924)</node-pattern></data>

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

subscribeNodes 1.153s
2022-02-09 22:20:02 |

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

2022-02-09 22:20:02 | ------------------------------------

2022-02-09 22:20:02 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-3586a97c-e50f-4bcc-85cc-1c80dbe94924</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.351s
2022-02-09 22:20:04 |

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

2022-02-09 22:20:04 | ------------------------------------

2022-02-09 22:20:04 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-3586a97c-e50f-4bcc-85cc-1c80dbe94924</node><jids><value>admin@test-domain.com</value></jids></data>

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