Generated by TestNG with ReportNG at 21:14 PST on Monday 27 February 2023
root@7c41cec37518 / 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.470s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.089s
2023-02-27 21:29:00 |

2023-02-27 21:29:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-27 21:29:00 | ------------------------------------

2023-02-27 21:29:01 | [Mutex] waiting for: [configured:node:node-584eb8cc-bfc7-464e-874e-c4c83e9fe08a:node-5dab421a-e656-4a39-9831-188a1a07b233]

2023-02-27 21:29:01 | [Mutex] received everything.

2023-02-27 21:29:01 | [Mutex] isItemNotified: configured:node:node-584eb8cc-bfc7-464e-874e-c4c83e9fe08a:node-5dab421a-e656-4a39-9831-188a1a07b233 :: true

2023-02-27 21:29:02 | [Mutex] waiting for: [received:nodes:6eb9c171-698f-455a-bd40-52d40b324b4e:localhost]

2023-02-27 21:29:02 | [Mutex] received everything.

2023-02-27 21:29:02 | [Mutex] isItemNotified: received:node:6eb9c171-698f-455a-bd40-52d40b324b4e:localhost:node-584eb8cc-bfc7-464e-874e-c4c83e9fe08a:Node 584eb8cc-bfc7-464e-874e-c4c83e9fe08a :: true

2023-02-27 21:29:02 | [Mutex] waiting for: [received:nodes:bd35b1cd-3ded-423b-9431-0cff2b5a8bbc:localhost]

2023-02-27 21:29:02 | [Mutex] waiting for: [received:nodes:bd35b1cd-3ded-423b-9431-0cff2b5a8bbc:localhost]

2023-02-27 21:29:02 | [Mutex] waiting for: [received:nodes:bd35b1cd-3ded-423b-9431-0cff2b5a8bbc:localhost]

2023-02-27 21:29:02 | [Mutex] waiting for: [received:nodes:bd35b1cd-3ded-423b-9431-0cff2b5a8bbc:localhost]

2023-02-27 21:29:02 | [Mutex] received everything.

2023-02-27 21:29:02 | [Mutex] isItemNotified: received:node:bd35b1cd-3ded-423b-9431-0cff2b5a8bbc:localhost:node-584eb8cc-bfc7-464e-874e-c4c83e9fe08a:Node 584eb8cc-bfc7-464e-874e-c4c83e9fe08a :: false

createNodes 1.375s
2023-02-27 21:28:58 |

2023-02-27 21:28:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-27 21:28:58 | ------------------------------------

2023-02-27 21:28:58 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-584eb8cc-bfc7-464e-874e-c4c83e9fe08a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 584eb8cc-bfc7-464e-874e-c4c83e9fe08a</title></pubsub></data>

2023-02-27 21:28:58 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-02-27 21:28:59 | [Mutex] waiting for: [received:nodes:4999d7f7-460a-4101-9c37-ce57f06b8820:localhost]

2023-02-27 21:28:59 | [Mutex] received everything.

2023-02-27 21:28:59 | [Mutex] isItemNotified: received:node:4999d7f7-460a-4101-9c37-ce57f06b8820:localhost:node-584eb8cc-bfc7-464e-874e-c4c83e9fe08a:Node 584eb8cc-bfc7-464e-874e-c4c83e9fe08a :: true

createSubnodes 1.022s
2023-02-27 21:28:59 |

2023-02-27 21:28:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-27 21:28:59 | ------------------------------------

2023-02-27 21:28:59 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-5dab421a-e656-4a39-9831-188a1a07b233</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 5dab421a-e656-4a39-9831-188a1a07b233</title></pubsub></data>

2023-02-27 21:28:59 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-02-27 21:29:00 | [Mutex] waiting for: [received:nodes:3d7800a0-f709-449a-97b0-4b9f53f2ad2d:localhost]

2023-02-27 21:29:00 | [Mutex] waiting for: [received:nodes:3d7800a0-f709-449a-97b0-4b9f53f2ad2d:localhost]

2023-02-27 21:29:00 | [Mutex] waiting for: [received:nodes:3d7800a0-f709-449a-97b0-4b9f53f2ad2d:localhost]

2023-02-27 21:29:00 | [Mutex] waiting for: [received:nodes:3d7800a0-f709-449a-97b0-4b9f53f2ad2d:localhost]

2023-02-27 21:29:00 | [Mutex] received everything.

2023-02-27 21:29:00 | [Mutex] isItemNotified: received:node:3d7800a0-f709-449a-97b0-4b9f53f2ad2d:localhost:node-5dab421a-e656-4a39-9831-188a1a07b233:Node 5dab421a-e656-4a39-9831-188a1a07b233 :: true

deleteNodes 1.017s
2023-02-27 21:29:06 |

2023-02-27 21:29:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-27 21:29:06 | ------------------------------------

2023-02-27 21:29:06 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-5dab421a-e656-4a39-9831-188a1a07b233</node></data>

2023-02-27 21:29:06 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-02-27 21:29:07 | [Mutex] waiting for: [received:nodes:ed544734-df75-41b3-9fcd-cb98cfd8b210:localhost]

2023-02-27 21:29:07 | [Mutex] waiting for: [received:nodes:ed544734-df75-41b3-9fcd-cb98cfd8b210:localhost]

2023-02-27 21:29:07 | [Mutex] received everything.

2023-02-27 21:29:07 | [Mutex] isItemNotified: received:node:ed544734-df75-41b3-9fcd-cb98cfd8b210:localhost:node-5dab421a-e656-4a39-9831-188a1a07b233:Node 5dab421a-e656-4a39-9831-188a1a07b233 :: false

deleteSubnodes 1.122s
2023-02-27 21:29:05 |

2023-02-27 21:29:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-27 21:29:05 | ------------------------------------

2023-02-27 21:29:05 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-584eb8cc-bfc7-464e-874e-c4c83e9fe08a</node></data>

2023-02-27 21:29:05 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-02-27 21:29:06 | [Mutex] waiting for: [received:nodes:11e531e7-2547-49f6-a408-93fb82726eaa:localhost]

2023-02-27 21:29:06 | [Mutex] waiting for: [received:nodes:11e531e7-2547-49f6-a408-93fb82726eaa:localhost]

2023-02-27 21:29:06 | [Mutex] waiting for: [received:nodes:11e531e7-2547-49f6-a408-93fb82726eaa:localhost]

2023-02-27 21:29:06 | [Mutex] received everything.

2023-02-27 21:29:06 | [Mutex] isItemNotified: received:node:11e531e7-2547-49f6-a408-93fb82726eaa:localhost:node-584eb8cc-bfc7-464e-874e-c4c83e9fe08a:Node 584eb8cc-bfc7-464e-874e-c4c83e9fe08a :: false

2023-02-27 21:29:06 | [Mutex] waiting for: [received:nodes:e1d1596b-075f-4621-b9c4-0eb91411af5a:localhost]

2023-02-27 21:29:06 | [Mutex] received everything.

2023-02-27 21:29:06 | [Mutex] isItemNotified: received:node:e1d1596b-075f-4621-b9c4-0eb91411af5a:localhost:node-584eb8cc-bfc7-464e-874e-c4c83e9fe08a:Node 584eb8cc-bfc7-464e-874e-c4c83e9fe08a :: false

publishItemsToNodes 0.244s
2023-02-27 21:29:03 |

2023-02-27 21:29:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-27 21:29:03 | ------------------------------------

2023-02-27 21:29:03 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-584eb8cc-bfc7-464e-874e-c4c83e9fe08a</node><item-id>item-bbd12189-d07b-4bda-8c46-19d82a9683d1</item-id><entry><test>item-bbd12189-d07b-4bda-8c46-19d82a9683d1</test></entry></data>

2023-02-27 21:29:03 | 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-bbd12189-d07b-4bda-8c46-19d82a9683d1</value></item-id></result>

2023-02-27 21:29:03 | [Mutex] waiting for: [published:item:notifieditem-bbd12189-d07b-4bda-8c46-19d82a9683d1:admin@test-domain.com]

2023-02-27 21:29:03 | [Mutex] received everything.

2023-02-27 21:29:03 | [Mutex] isItemNotified: published:item:notifieditem-bbd12189-d07b-4bda-8c46-19d82a9683d1:admin@test-domain.com :: true

retractItemsFromNodes 0.307s
2023-02-27 21:29:03 |

2023-02-27 21:29:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-27 21:29:03 | ------------------------------------

2023-02-27 21:29:03 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-584eb8cc-bfc7-464e-874e-c4c83e9fe08a</node><item-id>item-bbd12189-d07b-4bda-8c46-19d82a9683d1</item-id></data>

2023-02-27 21:29:04 | 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-bbd12189-d07b-4bda-8c46-19d82a9683d1</value></item-id></result>

2023-02-27 21:29:04 | [Mutex] received everything.

2023-02-27 21:29:04 | [Mutex] isItemNotified: retracted:item:notifieditem-bbd12189-d07b-4bda-8c46-19d82a9683d1:admin@test-domain.com :: true

retrieveItemsFromNodes 0.237s
2023-02-27 21:29:03 |

2023-02-27 21:29:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-27 21:29:03 | ------------------------------------

2023-02-27 21:29:03 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-584eb8cc-bfc7-464e-874e-c4c83e9fe08a</node><item-id>item-bbd12189-d07b-4bda-8c46-19d82a9683d1</item-id></data>

2023-02-27 21:29:03 | 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-584eb8cc-bfc7-464e-874e-c4c83e9fe08a</value></node><item-id label="Item ID" type="text-single"><value>item-bbd12189-d07b-4bda-8c46-19d82a9683d1</value></item-id><item label="Item" type="text-multi"><value><item id="item-bbd12189-d07b-4bda-8c46-19d82a9683d1"><test>item-bbd12189-d07b-4bda-8c46-19d82a9683d1</test></item></value></item></result>

2023-02-27 21:29:03 | [Mutex] notify: [retrieved:item:item-bbd12189-d07b-4bda-8c46-19d82a9683d1:payload-matches:true:localhost]

2023-02-27 21:29:03 | [Mutex] received everything.

2023-02-27 21:29:03 | [Mutex] isItemNotified: retrieved:item:item-bbd12189-d07b-4bda-8c46-19d82a9683d1:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-02-27 21:29:03 |

2023-02-27 21:29:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-27 21:29:03 | ------------------------------------

2023-02-27 21:29:03 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2023-02-27 21:29:03 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-584eb8cc-bfc7-464e-874e-c4c83e9fe08a</value><value>test</value><value>node-5dab421a-e656-4a39-9831-188a1a07b233</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-02-27 21:29:03 |

2023-02-27 21:29:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-27 21:29:03 | ------------------------------------

2023-02-27 21:29:03 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-584eb8cc-bfc7-464e-874e-c4c83e9fe08a)</node-pattern></data>

2023-02-27 21:29:03 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.170s
2023-02-27 21:29:02 |

2023-02-27 21:29:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-27 21:29:02 | ------------------------------------

2023-02-27 21:29:02 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-584eb8cc-bfc7-464e-874e-c4c83e9fe08a</node><jids><value>admin@test-domain.com</value></jids></data>

2023-02-27 21:29: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.179s
2023-02-27 21:29:04 |

2023-02-27 21:29:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-27 21:29:04 | ------------------------------------

2023-02-27 21:29:04 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-584eb8cc-bfc7-464e-874e-c4c83e9fe08a</node><jids><value>admin@test-domain.com</value></jids></data>

2023-02-27 21:29:04 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>