Generated by TestNG with ReportNG at 22:30 PDT on Thursday 06 July 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.488s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.098s
2023-07-06 22:44:59 |

2023-07-06 22:44:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-06 22:44:59 | ------------------------------------

2023-07-06 22:44:59 | [Mutex] waiting for: [configured:node:node-14726aba-d1f2-43cc-98fa-60b5c085038e:node-dfc9fb12-9ff7-4c20-9558-f848f00d40a1]

2023-07-06 22:45:00 | [Mutex] received everything.

2023-07-06 22:45:00 | [Mutex] isItemNotified: configured:node:node-14726aba-d1f2-43cc-98fa-60b5c085038e:node-dfc9fb12-9ff7-4c20-9558-f848f00d40a1 :: true

2023-07-06 22:45:01 | [Mutex] waiting for: [received:nodes:48cad7bd-e150-43bb-b99e-5187ee008f80:localhost]

2023-07-06 22:45:01 | [Mutex] received everything.

2023-07-06 22:45:01 | [Mutex] isItemNotified: received:node:48cad7bd-e150-43bb-b99e-5187ee008f80:localhost:node-14726aba-d1f2-43cc-98fa-60b5c085038e:Node 14726aba-d1f2-43cc-98fa-60b5c085038e :: true

2023-07-06 22:45:01 | [Mutex] waiting for: [received:nodes:eb1c38d9-4623-402d-8860-14bd2f6b1c52:localhost]

2023-07-06 22:45:01 | [Mutex] waiting for: [received:nodes:eb1c38d9-4623-402d-8860-14bd2f6b1c52:localhost]

2023-07-06 22:45:01 | [Mutex] waiting for: [received:nodes:eb1c38d9-4623-402d-8860-14bd2f6b1c52:localhost]

2023-07-06 22:45:01 | [Mutex] received everything.

2023-07-06 22:45:01 | [Mutex] isItemNotified: received:node:eb1c38d9-4623-402d-8860-14bd2f6b1c52:localhost:node-14726aba-d1f2-43cc-98fa-60b5c085038e:Node 14726aba-d1f2-43cc-98fa-60b5c085038e :: false

createNodes 1.441s
2023-07-06 22:44:57 |

2023-07-06 22:44:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-06 22:44:57 | ------------------------------------

2023-07-06 22:44:57 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-14726aba-d1f2-43cc-98fa-60b5c085038e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 14726aba-d1f2-43cc-98fa-60b5c085038e</title></pubsub></data>

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

2023-07-06 22:44:58 | [Mutex] waiting for: [received:nodes:3a9d5af1-dc1c-4a01-ae29-b6e34daee005:localhost]

2023-07-06 22:44:58 | [Mutex] received everything.

2023-07-06 22:44:58 | [Mutex] isItemNotified: received:node:3a9d5af1-dc1c-4a01-ae29-b6e34daee005:localhost:node-14726aba-d1f2-43cc-98fa-60b5c085038e:Node 14726aba-d1f2-43cc-98fa-60b5c085038e :: true

createSubnodes 1.034s
2023-07-06 22:44:58 |

2023-07-06 22:44:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-06 22:44:58 | ------------------------------------

2023-07-06 22:44:58 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-dfc9fb12-9ff7-4c20-9558-f848f00d40a1</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node dfc9fb12-9ff7-4c20-9558-f848f00d40a1</title></pubsub></data>

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

2023-07-06 22:44:59 | [Mutex] waiting for: [received:nodes:9a835425-82f0-453f-a427-6ae0aaa38513:localhost]

2023-07-06 22:44:59 | [Mutex] waiting for: [received:nodes:9a835425-82f0-453f-a427-6ae0aaa38513:localhost]

2023-07-06 22:44:59 | [Mutex] waiting for: [received:nodes:9a835425-82f0-453f-a427-6ae0aaa38513:localhost]

2023-07-06 22:44:59 | [Mutex] waiting for: [received:nodes:9a835425-82f0-453f-a427-6ae0aaa38513:localhost]

2023-07-06 22:44:59 | [Mutex] received everything.

2023-07-06 22:44:59 | [Mutex] isItemNotified: received:node:9a835425-82f0-453f-a427-6ae0aaa38513:localhost:node-dfc9fb12-9ff7-4c20-9558-f848f00d40a1:Node dfc9fb12-9ff7-4c20-9558-f848f00d40a1 :: true

deleteNodes 1.023s
2023-07-06 22:45:05 |

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

2023-07-06 22:45:05 | ------------------------------------

2023-07-06 22:45:05 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-dfc9fb12-9ff7-4c20-9558-f848f00d40a1</node></data>

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

2023-07-06 22:45:06 | [Mutex] waiting for: [received:nodes:8b58a80b-ef47-43e0-b3f7-db8f5aa8ab2c:localhost]

2023-07-06 22:45:06 | [Mutex] waiting for: [received:nodes:8b58a80b-ef47-43e0-b3f7-db8f5aa8ab2c:localhost]

2023-07-06 22:45:06 | [Mutex] waiting for: [received:nodes:8b58a80b-ef47-43e0-b3f7-db8f5aa8ab2c:localhost]

2023-07-06 22:45:06 | [Mutex] received everything.

2023-07-06 22:45:06 | [Mutex] isItemNotified: received:node:8b58a80b-ef47-43e0-b3f7-db8f5aa8ab2c:localhost:node-dfc9fb12-9ff7-4c20-9558-f848f00d40a1:Node dfc9fb12-9ff7-4c20-9558-f848f00d40a1 :: false

deleteSubnodes 1.119s
2023-07-06 22:45:04 |

2023-07-06 22:45:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-06 22:45:04 | ------------------------------------

2023-07-06 22:45:04 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-14726aba-d1f2-43cc-98fa-60b5c085038e</node></data>

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

2023-07-06 22:45:05 | [Mutex] waiting for: [received:nodes:d4fb9521-5f87-4d82-93c0-4a98cdec22e8:localhost]

2023-07-06 22:45:05 | [Mutex] waiting for: [received:nodes:d4fb9521-5f87-4d82-93c0-4a98cdec22e8:localhost]

2023-07-06 22:45:05 | [Mutex] waiting for: [received:nodes:d4fb9521-5f87-4d82-93c0-4a98cdec22e8:localhost]

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

2023-07-06 22:45:05 | [Mutex] isItemNotified: received:node:d4fb9521-5f87-4d82-93c0-4a98cdec22e8:localhost:node-14726aba-d1f2-43cc-98fa-60b5c085038e:Node 14726aba-d1f2-43cc-98fa-60b5c085038e :: false

2023-07-06 22:45:05 | [Mutex] waiting for: [received:nodes:58e3b570-8867-47db-a265-518e7699717a:localhost]

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

2023-07-06 22:45:05 | [Mutex] isItemNotified: received:node:58e3b570-8867-47db-a265-518e7699717a:localhost:node-14726aba-d1f2-43cc-98fa-60b5c085038e:Node 14726aba-d1f2-43cc-98fa-60b5c085038e :: false

publishItemsToNodes 0.178s
2023-07-06 22:45:02 |

2023-07-06 22:45:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-06 22:45:02 | ------------------------------------

2023-07-06 22:45:02 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-14726aba-d1f2-43cc-98fa-60b5c085038e</node><item-id>item-4d8cda21-9616-41ce-9ab8-40bbb871dfe1</item-id><entry><test>item-4d8cda21-9616-41ce-9ab8-40bbb871dfe1</test></entry></data>

2023-07-06 22:45:02 | 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-4d8cda21-9616-41ce-9ab8-40bbb871dfe1</value></item-id></result>

2023-07-06 22:45:02 | [Mutex] received everything.

2023-07-06 22:45:02 | [Mutex] isItemNotified: published:item:notifieditem-4d8cda21-9616-41ce-9ab8-40bbb871dfe1:admin@test-domain.com :: true

retractItemsFromNodes 0.259s
2023-07-06 22:45:02 |

2023-07-06 22:45:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-06 22:45:02 | ------------------------------------

2023-07-06 22:45:02 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-14726aba-d1f2-43cc-98fa-60b5c085038e</node><item-id>item-4d8cda21-9616-41ce-9ab8-40bbb871dfe1</item-id></data>

2023-07-06 22:45:02 | 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-4d8cda21-9616-41ce-9ab8-40bbb871dfe1</value></item-id></result>

2023-07-06 22:45:02 | [Mutex] received everything.

2023-07-06 22:45:02 | [Mutex] isItemNotified: retracted:item:notifieditem-4d8cda21-9616-41ce-9ab8-40bbb871dfe1:admin@test-domain.com :: true

retrieveItemsFromNodes 0.164s
2023-07-06 22:45:02 |

2023-07-06 22:45:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-06 22:45:02 | ------------------------------------

2023-07-06 22:45:02 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-14726aba-d1f2-43cc-98fa-60b5c085038e</node><item-id>item-4d8cda21-9616-41ce-9ab8-40bbb871dfe1</item-id></data>

2023-07-06 22:45:02 | 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-14726aba-d1f2-43cc-98fa-60b5c085038e</value></node><item-id type="text-single" label="Item ID"><value>item-4d8cda21-9616-41ce-9ab8-40bbb871dfe1</value></item-id><item type="text-multi" label="Item"><value><item id="item-4d8cda21-9616-41ce-9ab8-40bbb871dfe1"><test>item-4d8cda21-9616-41ce-9ab8-40bbb871dfe1</test></item></value></item></result>

2023-07-06 22:45:02 | [Mutex] notify: [retrieved:item:item-4d8cda21-9616-41ce-9ab8-40bbb871dfe1:payload-matches:true:localhost]

2023-07-06 22:45:02 | [Mutex] received everything.

2023-07-06 22:45:02 | [Mutex] isItemNotified: retrieved:item:item-4d8cda21-9616-41ce-9ab8-40bbb871dfe1:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-07-06 22:45:02 |

2023-07-06 22:45:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-06 22:45:02 | ------------------------------------

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

2023-07-06 22:45:02 | 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-14726aba-d1f2-43cc-98fa-60b5c085038e</value><value>node-dfc9fb12-9ff7-4c20-9558-f848f00d40a1</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2023-07-06 22:45:02 |

2023-07-06 22:45:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-06 22:45:02 | ------------------------------------

2023-07-06 22:45:02 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-14726aba-d1f2-43cc-98fa-60b5c085038e)</node-pattern></data>

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

subscribeNodes 1.129s
2023-07-06 22:45:01 |

2023-07-06 22:45:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-06 22:45:01 | ------------------------------------

2023-07-06 22:45:01 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-14726aba-d1f2-43cc-98fa-60b5c085038e</node><jids><value>admin@test-domain.com</value></jids></data>

2023-07-06 22:45:01 | 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
2023-07-06 22:45:02 |

2023-07-06 22:45:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-06 22:45:02 | ------------------------------------

2023-07-06 22:45:02 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-14726aba-d1f2-43cc-98fa-60b5c085038e</node><jids><value>admin@test-domain.com</value></jids></data>

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