Generated by TestNG with ReportNG at 15:32 PST on Friday 24 February 2023
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.348s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.089s
2023-02-24 15:46:19 |

2023-02-24 15:46:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-24 15:46:19 | ------------------------------------

2023-02-24 15:46:19 | [Mutex] waiting for: [configured:node:node-887ae565-3910-4514-8483-822bf1d44148:node-ff94bebe-a70e-4b2c-9969-9dea6cb5e8a7]

2023-02-24 15:46:19 | [Mutex] received everything.

2023-02-24 15:46:19 | [Mutex] isItemNotified: configured:node:node-887ae565-3910-4514-8483-822bf1d44148:node-ff94bebe-a70e-4b2c-9969-9dea6cb5e8a7 :: true

2023-02-24 15:46:20 | [Mutex] waiting for: [received:nodes:1520068a-3bfd-42dd-a6eb-e530d027c32c:localhost]

2023-02-24 15:46:20 | [Mutex] received everything.

2023-02-24 15:46:20 | [Mutex] isItemNotified: received:node:1520068a-3bfd-42dd-a6eb-e530d027c32c:localhost:node-887ae565-3910-4514-8483-822bf1d44148:Node 887ae565-3910-4514-8483-822bf1d44148 :: true

2023-02-24 15:46:20 | [Mutex] waiting for: [received:nodes:c92f733f-cec3-47b6-8141-fc50885b1653:localhost]

2023-02-24 15:46:20 | [Mutex] waiting for: [received:nodes:c92f733f-cec3-47b6-8141-fc50885b1653:localhost]

2023-02-24 15:46:20 | [Mutex] waiting for: [received:nodes:c92f733f-cec3-47b6-8141-fc50885b1653:localhost]

2023-02-24 15:46:20 | [Mutex] received everything.

2023-02-24 15:46:20 | [Mutex] isItemNotified: received:node:c92f733f-cec3-47b6-8141-fc50885b1653:localhost:node-887ae565-3910-4514-8483-822bf1d44148:Node 887ae565-3910-4514-8483-822bf1d44148 :: false

createNodes 1.353s
2023-02-24 15:46:17 |

2023-02-24 15:46:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-24 15:46:17 | ------------------------------------

2023-02-24 15:46:17 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-887ae565-3910-4514-8483-822bf1d44148</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 887ae565-3910-4514-8483-822bf1d44148</title></pubsub></data>

2023-02-24 15:46:17 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-02-24 15:46:18 | [Mutex] waiting for: [received:nodes:39ace100-42c6-4ab7-ae34-db0d98ce2b23:localhost]

2023-02-24 15:46:18 | [Mutex] received everything.

2023-02-24 15:46:18 | [Mutex] isItemNotified: received:node:39ace100-42c6-4ab7-ae34-db0d98ce2b23:localhost:node-887ae565-3910-4514-8483-822bf1d44148:Node 887ae565-3910-4514-8483-822bf1d44148 :: true

createSubnodes 1.038s
2023-02-24 15:46:18 |

2023-02-24 15:46:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-24 15:46:18 | ------------------------------------

2023-02-24 15:46:18 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-ff94bebe-a70e-4b2c-9969-9dea6cb5e8a7</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node ff94bebe-a70e-4b2c-9969-9dea6cb5e8a7</title></pubsub></data>

2023-02-24 15:46:18 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-02-24 15:46:19 | [Mutex] waiting for: [received:nodes:217bf645-73e3-4fc3-826f-26b7faa84ad1:localhost]

2023-02-24 15:46:19 | [Mutex] waiting for: [received:nodes:217bf645-73e3-4fc3-826f-26b7faa84ad1:localhost]

2023-02-24 15:46:19 | [Mutex] waiting for: [received:nodes:217bf645-73e3-4fc3-826f-26b7faa84ad1:localhost]

2023-02-24 15:46:19 | [Mutex] waiting for: [received:nodes:217bf645-73e3-4fc3-826f-26b7faa84ad1:localhost]

2023-02-24 15:46:19 | [Mutex] waiting for: [received:nodes:217bf645-73e3-4fc3-826f-26b7faa84ad1:localhost]

2023-02-24 15:46:19 | [Mutex] received everything.

2023-02-24 15:46:19 | [Mutex] isItemNotified: received:node:217bf645-73e3-4fc3-826f-26b7faa84ad1:localhost:node-ff94bebe-a70e-4b2c-9969-9dea6cb5e8a7:Node ff94bebe-a70e-4b2c-9969-9dea6cb5e8a7 :: true

deleteNodes 1.035s
2023-02-24 15:46:24 |

2023-02-24 15:46:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-24 15:46:24 | ------------------------------------

2023-02-24 15:46:24 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-ff94bebe-a70e-4b2c-9969-9dea6cb5e8a7</node></data>

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

2023-02-24 15:46:25 | [Mutex] waiting for: [received:nodes:5fafd7e9-be20-42b5-ac8f-a6864c8fef7d:localhost]

2023-02-24 15:46:25 | [Mutex] waiting for: [received:nodes:5fafd7e9-be20-42b5-ac8f-a6864c8fef7d:localhost]

2023-02-24 15:46:25 | [Mutex] waiting for: [received:nodes:5fafd7e9-be20-42b5-ac8f-a6864c8fef7d:localhost]

2023-02-24 15:46:25 | [Mutex] received everything.

2023-02-24 15:46:25 | [Mutex] isItemNotified: received:node:5fafd7e9-be20-42b5-ac8f-a6864c8fef7d:localhost:node-ff94bebe-a70e-4b2c-9969-9dea6cb5e8a7:Node ff94bebe-a70e-4b2c-9969-9dea6cb5e8a7 :: false

deleteSubnodes 1.149s
2023-02-24 15:46:23 |

2023-02-24 15:46:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-24 15:46:23 | ------------------------------------

2023-02-24 15:46:23 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-887ae565-3910-4514-8483-822bf1d44148</node></data>

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

2023-02-24 15:46:24 | [Mutex] waiting for: [received:nodes:603ab809-0b05-471d-83e0-759ef219209e:localhost]

2023-02-24 15:46:24 | [Mutex] waiting for: [received:nodes:603ab809-0b05-471d-83e0-759ef219209e:localhost]

2023-02-24 15:46:24 | [Mutex] received everything.

2023-02-24 15:46:24 | [Mutex] isItemNotified: received:node:603ab809-0b05-471d-83e0-759ef219209e:localhost:node-887ae565-3910-4514-8483-822bf1d44148:Node 887ae565-3910-4514-8483-822bf1d44148 :: false

2023-02-24 15:46:24 | [Mutex] waiting for: [received:nodes:f56ea60e-8e2c-4529-8626-2f2586aafc7b:localhost]

2023-02-24 15:46:24 | [Mutex] received everything.

2023-02-24 15:46:24 | [Mutex] isItemNotified: received:node:f56ea60e-8e2c-4529-8626-2f2586aafc7b:localhost:node-887ae565-3910-4514-8483-822bf1d44148:Node 887ae565-3910-4514-8483-822bf1d44148 :: false

publishItemsToNodes 0.192s
2023-02-24 15:46:21 |

2023-02-24 15:46:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-24 15:46:21 | ------------------------------------

2023-02-24 15:46:21 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-887ae565-3910-4514-8483-822bf1d44148</node><item-id>item-37ddce78-8b3c-405f-858a-7bd7122b074d</item-id><entry><test>item-37ddce78-8b3c-405f-858a-7bd7122b074d</test></entry></data>

2023-02-24 15:46:21 | 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-37ddce78-8b3c-405f-858a-7bd7122b074d</value></item-id></result>

2023-02-24 15:46:21 | [Mutex] waiting for: [published:item:notifieditem-37ddce78-8b3c-405f-858a-7bd7122b074d:admin@test-domain.com]

2023-02-24 15:46:21 | [Mutex] received everything.

2023-02-24 15:46:21 | [Mutex] isItemNotified: published:item:notifieditem-37ddce78-8b3c-405f-858a-7bd7122b074d:admin@test-domain.com :: true

retractItemsFromNodes 0.235s
2023-02-24 15:46:22 |

2023-02-24 15:46:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-24 15:46:22 | ------------------------------------

2023-02-24 15:46:22 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-887ae565-3910-4514-8483-822bf1d44148</node><item-id>item-37ddce78-8b3c-405f-858a-7bd7122b074d</item-id></data>

2023-02-24 15:46:22 | 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-37ddce78-8b3c-405f-858a-7bd7122b074d</value></item-id></result>

2023-02-24 15:46:22 | [Mutex] received everything.

2023-02-24 15:46:22 | [Mutex] isItemNotified: retracted:item:notifieditem-37ddce78-8b3c-405f-858a-7bd7122b074d:admin@test-domain.com :: true

retrieveItemsFromNodes 0.251s
2023-02-24 15:46:21 |

2023-02-24 15:46:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-24 15:46:21 | ------------------------------------

2023-02-24 15:46:21 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-887ae565-3910-4514-8483-822bf1d44148</node><item-id>item-37ddce78-8b3c-405f-858a-7bd7122b074d</item-id></data>

2023-02-24 15:46:22 | 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-887ae565-3910-4514-8483-822bf1d44148</value></node><item-id label="Item ID" type="text-single"><value>item-37ddce78-8b3c-405f-858a-7bd7122b074d</value></item-id><item label="Item" type="text-multi"><value><item id="item-37ddce78-8b3c-405f-858a-7bd7122b074d"><test>item-37ddce78-8b3c-405f-858a-7bd7122b074d</test></item></value></item></result>

2023-02-24 15:46:22 | [Mutex] notify: [retrieved:item:item-37ddce78-8b3c-405f-858a-7bd7122b074d:payload-matches:true:localhost]

2023-02-24 15:46:22 | [Mutex] received everything.

2023-02-24 15:46:22 | [Mutex] isItemNotified: retrieved:item:item-37ddce78-8b3c-405f-858a-7bd7122b074d:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-02-24 15:46:22 |

2023-02-24 15:46:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-24 15:46:22 | ------------------------------------

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

2023-02-24 15:46:22 | 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-887ae565-3910-4514-8483-822bf1d44148</value><value>node-ff94bebe-a70e-4b2c-9969-9dea6cb5e8a7</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2023-02-24 15:46:22 |

2023-02-24 15:46:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-24 15:46:22 | ------------------------------------

2023-02-24 15:46:22 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-887ae565-3910-4514-8483-822bf1d44148)</node-pattern></data>

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

subscribeNodes 1.116s
2023-02-24 15:46:20 |

2023-02-24 15:46:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-24 15:46:20 | ------------------------------------

2023-02-24 15:46:20 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-887ae565-3910-4514-8483-822bf1d44148</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.227s
2023-02-24 15:46:22 |

2023-02-24 15:46:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-24 15:46:22 | ------------------------------------

2023-02-24 15:46:22 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-887ae565-3910-4514-8483-822bf1d44148</node><jids><value>admin@test-domain.com</value></jids></data>

2023-02-24 15:46:22 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>