Generated by TestNG with ReportNG at 22:16 PDT on Monday 31 July 2023
root@3492648a7e7e / Java 17.0.7 (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.639s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.115s
2023-07-31 22:31:05 |

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

2023-07-31 22:31:05 | ------------------------------------

2023-07-31 22:31:05 | [Mutex] waiting for: [configured:node:node-a23466b2-8728-4527-95c9-e16267212fa8:node-0552dda1-b3b4-41ce-926e-c5d1a83100cf]

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

2023-07-31 22:31:05 | [Mutex] isItemNotified: configured:node:node-a23466b2-8728-4527-95c9-e16267212fa8:node-0552dda1-b3b4-41ce-926e-c5d1a83100cf :: true

2023-07-31 22:31:06 | [Mutex] waiting for: [received:nodes:017b459a-8839-4e5a-9f00-8f162c9c78e4:localhost]

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

2023-07-31 22:31:06 | [Mutex] isItemNotified: received:node:017b459a-8839-4e5a-9f00-8f162c9c78e4:localhost:node-a23466b2-8728-4527-95c9-e16267212fa8:Node a23466b2-8728-4527-95c9-e16267212fa8 :: true

2023-07-31 22:31:06 | [Mutex] waiting for: [received:nodes:134ab137-e083-4f89-a86a-d436f370f1ce:localhost]

2023-07-31 22:31:06 | [Mutex] waiting for: [received:nodes:134ab137-e083-4f89-a86a-d436f370f1ce:localhost]

2023-07-31 22:31:06 | [Mutex] waiting for: [received:nodes:134ab137-e083-4f89-a86a-d436f370f1ce:localhost]

2023-07-31 22:31:06 | [Mutex] waiting for: [received:nodes:134ab137-e083-4f89-a86a-d436f370f1ce:localhost]

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

2023-07-31 22:31:06 | [Mutex] isItemNotified: received:node:134ab137-e083-4f89-a86a-d436f370f1ce:localhost:node-a23466b2-8728-4527-95c9-e16267212fa8:Node a23466b2-8728-4527-95c9-e16267212fa8 :: false

createNodes 1.454s
2023-07-31 22:31:02 |

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

2023-07-31 22:31:02 | ------------------------------------

2023-07-31 22:31:02 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a23466b2-8728-4527-95c9-e16267212fa8</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node a23466b2-8728-4527-95c9-e16267212fa8</title></pubsub></data>

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

2023-07-31 22:31:04 | [Mutex] waiting for: [received:nodes:ec729bf5-a76a-4266-b1d8-c8a81a1167fc:localhost]

2023-07-31 22:31:04 | [Mutex] waiting for: [received:nodes:ec729bf5-a76a-4266-b1d8-c8a81a1167fc:localhost]

2023-07-31 22:31:04 | [Mutex] waiting for: [received:nodes:ec729bf5-a76a-4266-b1d8-c8a81a1167fc:localhost]

2023-07-31 22:31:04 | [Mutex] received everything.

2023-07-31 22:31:04 | [Mutex] isItemNotified: received:node:ec729bf5-a76a-4266-b1d8-c8a81a1167fc:localhost:node-a23466b2-8728-4527-95c9-e16267212fa8:Node a23466b2-8728-4527-95c9-e16267212fa8 :: true

createSubnodes 1.033s
2023-07-31 22:31:04 |

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

2023-07-31 22:31:04 | ------------------------------------

2023-07-31 22:31:04 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-0552dda1-b3b4-41ce-926e-c5d1a83100cf</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 0552dda1-b3b4-41ce-926e-c5d1a83100cf</title></pubsub></data>

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

2023-07-31 22:31:05 | [Mutex] waiting for: [received:nodes:12ac9580-d6bf-463f-9837-c3d5c84d6701:localhost]

2023-07-31 22:31:05 | [Mutex] waiting for: [received:nodes:12ac9580-d6bf-463f-9837-c3d5c84d6701:localhost]

2023-07-31 22:31:05 | [Mutex] waiting for: [received:nodes:12ac9580-d6bf-463f-9837-c3d5c84d6701:localhost]

2023-07-31 22:31:05 | [Mutex] waiting for: [received:nodes:12ac9580-d6bf-463f-9837-c3d5c84d6701:localhost]

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

2023-07-31 22:31:05 | [Mutex] isItemNotified: received:node:12ac9580-d6bf-463f-9837-c3d5c84d6701:localhost:node-0552dda1-b3b4-41ce-926e-c5d1a83100cf:Node 0552dda1-b3b4-41ce-926e-c5d1a83100cf :: true

deleteNodes 1.017s
2023-07-31 22:31:11 |

2023-07-31 22:31:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-31 22:31:11 | ------------------------------------

2023-07-31 22:31:11 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-0552dda1-b3b4-41ce-926e-c5d1a83100cf</node></data>

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

2023-07-31 22:31:12 | [Mutex] waiting for: [received:nodes:acadeeff-b229-4852-af26-79ec147e0d5e:localhost]

2023-07-31 22:31:12 | [Mutex] waiting for: [received:nodes:acadeeff-b229-4852-af26-79ec147e0d5e:localhost]

2023-07-31 22:31:12 | [Mutex] waiting for: [received:nodes:acadeeff-b229-4852-af26-79ec147e0d5e:localhost]

2023-07-31 22:31:12 | [Mutex] received everything.

2023-07-31 22:31:12 | [Mutex] isItemNotified: received:node:acadeeff-b229-4852-af26-79ec147e0d5e:localhost:node-0552dda1-b3b4-41ce-926e-c5d1a83100cf:Node 0552dda1-b3b4-41ce-926e-c5d1a83100cf :: false

deleteSubnodes 1.147s
2023-07-31 22:31:09 |

2023-07-31 22:31:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-31 22:31:09 | ------------------------------------

2023-07-31 22:31:09 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a23466b2-8728-4527-95c9-e16267212fa8</node></data>

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

2023-07-31 22:31:10 | [Mutex] waiting for: [received:nodes:4c27fe81-19a8-4812-8c7c-b6d6e6405f09:localhost]

2023-07-31 22:31:10 | [Mutex] waiting for: [received:nodes:4c27fe81-19a8-4812-8c7c-b6d6e6405f09:localhost]

2023-07-31 22:31:10 | [Mutex] waiting for: [received:nodes:4c27fe81-19a8-4812-8c7c-b6d6e6405f09:localhost]

2023-07-31 22:31:10 | [Mutex] waiting for: [received:nodes:4c27fe81-19a8-4812-8c7c-b6d6e6405f09:localhost]

2023-07-31 22:31:10 | [Mutex] received everything.

2023-07-31 22:31:10 | [Mutex] isItemNotified: received:node:4c27fe81-19a8-4812-8c7c-b6d6e6405f09:localhost:node-a23466b2-8728-4527-95c9-e16267212fa8:Node a23466b2-8728-4527-95c9-e16267212fa8 :: false

2023-07-31 22:31:11 | [Mutex] waiting for: [received:nodes:cab3ddc0-b0b1-4720-a695-46b94dda112f:localhost]

2023-07-31 22:31:11 | [Mutex] received everything.

2023-07-31 22:31:11 | [Mutex] isItemNotified: received:node:cab3ddc0-b0b1-4720-a695-46b94dda112f:localhost:node-a23466b2-8728-4527-95c9-e16267212fa8:Node a23466b2-8728-4527-95c9-e16267212fa8 :: false

publishItemsToNodes 0.209s
2023-07-31 22:31:07 |

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

2023-07-31 22:31:07 | ------------------------------------

2023-07-31 22:31:07 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-a23466b2-8728-4527-95c9-e16267212fa8</node><item-id>item-10bd2fb4-70cc-4c4e-9a8f-2b42ec1ae971</item-id><entry><test>item-10bd2fb4-70cc-4c4e-9a8f-2b42ec1ae971</test></entry></data>

2023-07-31 22:31:07 | 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-10bd2fb4-70cc-4c4e-9a8f-2b42ec1ae971</value></item-id></result>

2023-07-31 22:31:07 | [Mutex] waiting for: [published:item:notifieditem-10bd2fb4-70cc-4c4e-9a8f-2b42ec1ae971:admin@test-domain.com]

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

2023-07-31 22:31:07 | [Mutex] isItemNotified: published:item:notifieditem-10bd2fb4-70cc-4c4e-9a8f-2b42ec1ae971:admin@test-domain.com :: true

retractItemsFromNodes 0.338s
2023-07-31 22:31:08 |

2023-07-31 22:31:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-31 22:31:08 | ------------------------------------

2023-07-31 22:31:08 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-a23466b2-8728-4527-95c9-e16267212fa8</node><item-id>item-10bd2fb4-70cc-4c4e-9a8f-2b42ec1ae971</item-id></data>

2023-07-31 22:31:08 | 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-10bd2fb4-70cc-4c4e-9a8f-2b42ec1ae971</value></item-id></result>

2023-07-31 22:31:08 | [Mutex] waiting for: [retracted:item:notifieditem-10bd2fb4-70cc-4c4e-9a8f-2b42ec1ae971:admin@test-domain.com]

2023-07-31 22:31:08 | [Mutex] received everything.

2023-07-31 22:31:08 | [Mutex] isItemNotified: retracted:item:notifieditem-10bd2fb4-70cc-4c4e-9a8f-2b42ec1ae971:admin@test-domain.com :: true

retrieveItemsFromNodes 0.239s
2023-07-31 22:31:07 |

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

2023-07-31 22:31:07 | ------------------------------------

2023-07-31 22:31:07 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-a23466b2-8728-4527-95c9-e16267212fa8</node><item-id>item-10bd2fb4-70cc-4c4e-9a8f-2b42ec1ae971</item-id></data>

2023-07-31 22:31:08 | 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-a23466b2-8728-4527-95c9-e16267212fa8</value></node><item-id type="text-single" label="Item ID"><value>item-10bd2fb4-70cc-4c4e-9a8f-2b42ec1ae971</value></item-id><item type="text-multi" label="Item"><value><item id="item-10bd2fb4-70cc-4c4e-9a8f-2b42ec1ae971"><test>item-10bd2fb4-70cc-4c4e-9a8f-2b42ec1ae971</test></item></value></item></result>

2023-07-31 22:31:08 | [Mutex] notify: [retrieved:item:item-10bd2fb4-70cc-4c4e-9a8f-2b42ec1ae971:payload-matches:true:localhost]

2023-07-31 22:31:08 | [Mutex] received everything.

2023-07-31 22:31:08 | [Mutex] isItemNotified: retrieved:item:item-10bd2fb4-70cc-4c4e-9a8f-2b42ec1ae971:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-07-31 22:31:08 |

2023-07-31 22:31:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-31 22:31:08 | ------------------------------------

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

2023-07-31 22:31:08 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-0552dda1-b3b4-41ce-926e-c5d1a83100cf</value><value>test</value><value>node-a23466b2-8728-4527-95c9-e16267212fa8</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.053s
2023-07-31 22:31:08 |

2023-07-31 22:31:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-31 22:31:08 | ------------------------------------

2023-07-31 22:31:08 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-a23466b2-8728-4527-95c9-e16267212fa8)</node-pattern></data>

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

subscribeNodes 1.156s
2023-07-31 22:31:06 |

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

2023-07-31 22:31:06 | ------------------------------------

2023-07-31 22:31:06 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-a23466b2-8728-4527-95c9-e16267212fa8</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.236s
2023-07-31 22:31:08 |

2023-07-31 22:31:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-31 22:31:08 | ------------------------------------

2023-07-31 22:31:08 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-a23466b2-8728-4527-95c9-e16267212fa8</node><jids><value>admin@test-domain.com</value></jids></data>

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