Generated by TestNG with ReportNG at 22:29 PDT on Tuesday 14 March 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.539s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.098s
2023-03-14 22:43:50 |

2023-03-14 22:43:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-14 22:43:50 | ------------------------------------

2023-03-14 22:43:50 | [Mutex] waiting for: [configured:node:node-8673d62a-4bf8-45a0-ab30-c9e7ed6a8dcb:node-9edf22d0-5bb2-47f6-a429-d5a493e75d1a]

2023-03-14 22:43:50 | [Mutex] received everything.

2023-03-14 22:43:50 | [Mutex] isItemNotified: configured:node:node-8673d62a-4bf8-45a0-ab30-c9e7ed6a8dcb:node-9edf22d0-5bb2-47f6-a429-d5a493e75d1a :: true

2023-03-14 22:43:51 | [Mutex] waiting for: [received:nodes:9594508f-48f5-4075-a1ff-44d18464c837:localhost]

2023-03-14 22:43:51 | [Mutex] received everything.

2023-03-14 22:43:51 | [Mutex] isItemNotified: received:node:9594508f-48f5-4075-a1ff-44d18464c837:localhost:node-8673d62a-4bf8-45a0-ab30-c9e7ed6a8dcb:Node 8673d62a-4bf8-45a0-ab30-c9e7ed6a8dcb :: true

2023-03-14 22:43:51 | [Mutex] waiting for: [received:nodes:0cee6b3f-812a-427c-aa82-0b18b9768cd1:localhost]

2023-03-14 22:43:51 | [Mutex] waiting for: [received:nodes:0cee6b3f-812a-427c-aa82-0b18b9768cd1:localhost]

2023-03-14 22:43:51 | [Mutex] waiting for: [received:nodes:0cee6b3f-812a-427c-aa82-0b18b9768cd1:localhost]

2023-03-14 22:43:51 | [Mutex] waiting for: [received:nodes:0cee6b3f-812a-427c-aa82-0b18b9768cd1:localhost]

2023-03-14 22:43:51 | [Mutex] received everything.

2023-03-14 22:43:51 | [Mutex] isItemNotified: received:node:0cee6b3f-812a-427c-aa82-0b18b9768cd1:localhost:node-8673d62a-4bf8-45a0-ab30-c9e7ed6a8dcb:Node 8673d62a-4bf8-45a0-ab30-c9e7ed6a8dcb :: false

createNodes 1.457s
2023-03-14 22:43:48 |

2023-03-14 22:43:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-14 22:43:48 | ------------------------------------

2023-03-14 22:43:48 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-8673d62a-4bf8-45a0-ab30-c9e7ed6a8dcb</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 8673d62a-4bf8-45a0-ab30-c9e7ed6a8dcb</title></pubsub></data>

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

2023-03-14 22:43:49 | [Mutex] waiting for: [received:nodes:e18818ef-1603-45ac-b8f8-958d7fc5a216:localhost]

2023-03-14 22:43:49 | [Mutex] received everything.

2023-03-14 22:43:49 | [Mutex] isItemNotified: received:node:e18818ef-1603-45ac-b8f8-958d7fc5a216:localhost:node-8673d62a-4bf8-45a0-ab30-c9e7ed6a8dcb:Node 8673d62a-4bf8-45a0-ab30-c9e7ed6a8dcb :: true

createSubnodes 1.032s
2023-03-14 22:43:49 |

2023-03-14 22:43:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-14 22:43:49 | ------------------------------------

2023-03-14 22:43:49 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-9edf22d0-5bb2-47f6-a429-d5a493e75d1a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 9edf22d0-5bb2-47f6-a429-d5a493e75d1a</title></pubsub></data>

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

2023-03-14 22:43:50 | [Mutex] waiting for: [received:nodes:a37fdecb-ed47-4eb4-a386-e2b6f8431ae4:localhost]

2023-03-14 22:43:50 | [Mutex] waiting for: [received:nodes:a37fdecb-ed47-4eb4-a386-e2b6f8431ae4:localhost]

2023-03-14 22:43:50 | [Mutex] waiting for: [received:nodes:a37fdecb-ed47-4eb4-a386-e2b6f8431ae4:localhost]

2023-03-14 22:43:50 | [Mutex] waiting for: [received:nodes:a37fdecb-ed47-4eb4-a386-e2b6f8431ae4:localhost]

2023-03-14 22:43:50 | [Mutex] waiting for: [received:nodes:a37fdecb-ed47-4eb4-a386-e2b6f8431ae4:localhost]

2023-03-14 22:43:50 | [Mutex] received everything.

2023-03-14 22:43:50 | [Mutex] isItemNotified: received:node:a37fdecb-ed47-4eb4-a386-e2b6f8431ae4:localhost:node-9edf22d0-5bb2-47f6-a429-d5a493e75d1a:Node 9edf22d0-5bb2-47f6-a429-d5a493e75d1a :: true

deleteNodes 1.020s
2023-03-14 22:43:56 |

2023-03-14 22:43:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-14 22:43:56 | ------------------------------------

2023-03-14 22:43:56 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-9edf22d0-5bb2-47f6-a429-d5a493e75d1a</node></data>

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

2023-03-14 22:43:57 | [Mutex] waiting for: [received:nodes:7ec59173-1931-4d02-9ad1-05813fd809ff:localhost]

2023-03-14 22:43:57 | [Mutex] waiting for: [received:nodes:7ec59173-1931-4d02-9ad1-05813fd809ff:localhost]

2023-03-14 22:43:57 | [Mutex] waiting for: [received:nodes:7ec59173-1931-4d02-9ad1-05813fd809ff:localhost]

2023-03-14 22:43:57 | [Mutex] received everything.

2023-03-14 22:43:57 | [Mutex] isItemNotified: received:node:7ec59173-1931-4d02-9ad1-05813fd809ff:localhost:node-9edf22d0-5bb2-47f6-a429-d5a493e75d1a:Node 9edf22d0-5bb2-47f6-a429-d5a493e75d1a :: false

deleteSubnodes 1.121s
2023-03-14 22:43:54 |

2023-03-14 22:43:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-14 22:43:54 | ------------------------------------

2023-03-14 22:43:54 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-8673d62a-4bf8-45a0-ab30-c9e7ed6a8dcb</node></data>

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

2023-03-14 22:43:56 | [Mutex] waiting for: [received:nodes:3eb43581-2bb8-4dd1-a1fa-9d4f4b9a7773:localhost]

2023-03-14 22:43:56 | [Mutex] waiting for: [received:nodes:3eb43581-2bb8-4dd1-a1fa-9d4f4b9a7773:localhost]

2023-03-14 22:43:56 | [Mutex] waiting for: [received:nodes:3eb43581-2bb8-4dd1-a1fa-9d4f4b9a7773:localhost]

2023-03-14 22:43:56 | [Mutex] received everything.

2023-03-14 22:43:56 | [Mutex] isItemNotified: received:node:3eb43581-2bb8-4dd1-a1fa-9d4f4b9a7773:localhost:node-8673d62a-4bf8-45a0-ab30-c9e7ed6a8dcb:Node 8673d62a-4bf8-45a0-ab30-c9e7ed6a8dcb :: false

2023-03-14 22:43:56 | [Mutex] waiting for: [received:nodes:7324baf8-3a6a-477b-ae9a-44643a78b981:localhost]

2023-03-14 22:43:56 | [Mutex] received everything.

2023-03-14 22:43:56 | [Mutex] isItemNotified: received:node:7324baf8-3a6a-477b-ae9a-44643a78b981:localhost:node-8673d62a-4bf8-45a0-ab30-c9e7ed6a8dcb:Node 8673d62a-4bf8-45a0-ab30-c9e7ed6a8dcb :: false

publishItemsToNodes 0.259s
2023-03-14 22:43:52 |

2023-03-14 22:43:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-14 22:43:52 | ------------------------------------

2023-03-14 22:43:52 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-8673d62a-4bf8-45a0-ab30-c9e7ed6a8dcb</node><item-id>item-c0e8e559-f967-44ed-8225-9de748e37429</item-id><entry><test>item-c0e8e559-f967-44ed-8225-9de748e37429</test></entry></data>

2023-03-14 22:43:53 | 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-c0e8e559-f967-44ed-8225-9de748e37429</value></item-id></result>

2023-03-14 22:43:53 | [Mutex] received everything.

2023-03-14 22:43:53 | [Mutex] isItemNotified: published:item:notifieditem-c0e8e559-f967-44ed-8225-9de748e37429:admin@test-domain.com :: true

retractItemsFromNodes 0.266s
2023-03-14 22:43:53 |

2023-03-14 22:43:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-14 22:43:53 | ------------------------------------

2023-03-14 22:43:53 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-8673d62a-4bf8-45a0-ab30-c9e7ed6a8dcb</node><item-id>item-c0e8e559-f967-44ed-8225-9de748e37429</item-id></data>

2023-03-14 22:43:53 | 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-c0e8e559-f967-44ed-8225-9de748e37429</value></item-id></result>

2023-03-14 22:43:53 | [Mutex] received everything.

2023-03-14 22:43:53 | [Mutex] isItemNotified: retracted:item:notifieditem-c0e8e559-f967-44ed-8225-9de748e37429:admin@test-domain.com :: true

retrieveItemsFromNodes 0.242s
2023-03-14 22:43:53 |

2023-03-14 22:43:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-14 22:43:53 | ------------------------------------

2023-03-14 22:43:53 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-8673d62a-4bf8-45a0-ab30-c9e7ed6a8dcb</node><item-id>item-c0e8e559-f967-44ed-8225-9de748e37429</item-id></data>

2023-03-14 22:43:53 | 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-8673d62a-4bf8-45a0-ab30-c9e7ed6a8dcb</value></node><item-id type="text-single" label="Item ID"><value>item-c0e8e559-f967-44ed-8225-9de748e37429</value></item-id><item type="text-multi" label="Item"><value><item id="item-c0e8e559-f967-44ed-8225-9de748e37429"><test>item-c0e8e559-f967-44ed-8225-9de748e37429</test></item></value></item></result>

2023-03-14 22:43:53 | [Mutex] notify: [retrieved:item:item-c0e8e559-f967-44ed-8225-9de748e37429:payload-matches:true:localhost]

2023-03-14 22:43:53 | [Mutex] received everything.

2023-03-14 22:43:53 | [Mutex] isItemNotified: retrieved:item:item-c0e8e559-f967-44ed-8225-9de748e37429:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-03-14 22:43:53 |

2023-03-14 22:43:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-14 22:43:53 | ------------------------------------

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

2023-03-14 22:43:53 | 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-9edf22d0-5bb2-47f6-a429-d5a493e75d1a</value><value>node-8673d62a-4bf8-45a0-ab30-c9e7ed6a8dcb</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-03-14 22:43:53 |

2023-03-14 22:43:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-14 22:43:53 | ------------------------------------

2023-03-14 22:43:53 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-8673d62a-4bf8-45a0-ab30-c9e7ed6a8dcb)</node-pattern></data>

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

subscribeNodes 1.167s
2023-03-14 22:43:51 |

2023-03-14 22:43:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-14 22:43:51 | ------------------------------------

2023-03-14 22:43:51 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-8673d62a-4bf8-45a0-ab30-c9e7ed6a8dcb</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.202s
2023-03-14 22:43:53 |

2023-03-14 22:43:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-14 22:43:53 | ------------------------------------

2023-03-14 22:43:53 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-8673d62a-4bf8-45a0-ab30-c9e7ed6a8dcb</node><jids><value>admin@test-domain.com</value></jids></data>

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