Generated by TestNG with ReportNG at 22:15 PDT on Wednesday 29 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.433s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.084s
2023-03-29 22:29:57 |

2023-03-29 22:29:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-29 22:29:57 | ------------------------------------

2023-03-29 22:29:57 | [Mutex] waiting for: [configured:node:node-46779800-e40f-41f8-8f10-87689a8282f5:node-4a3842e6-72d1-4be0-9921-a743dd4a2bad]

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

2023-03-29 22:29:57 | [Mutex] isItemNotified: configured:node:node-46779800-e40f-41f8-8f10-87689a8282f5:node-4a3842e6-72d1-4be0-9921-a743dd4a2bad :: true

2023-03-29 22:29:58 | [Mutex] waiting for: [received:nodes:948fb638-be83-4d97-8ace-d1851c995d79:localhost]

2023-03-29 22:29:58 | [Mutex] received everything.

2023-03-29 22:29:58 | [Mutex] isItemNotified: received:node:948fb638-be83-4d97-8ace-d1851c995d79:localhost:node-46779800-e40f-41f8-8f10-87689a8282f5:Node 46779800-e40f-41f8-8f10-87689a8282f5 :: true

2023-03-29 22:29:58 | [Mutex] waiting for: [received:nodes:917bd17a-6763-4a13-96e4-9161b605bb26:localhost]

2023-03-29 22:29:58 | [Mutex] waiting for: [received:nodes:917bd17a-6763-4a13-96e4-9161b605bb26:localhost]

2023-03-29 22:29:58 | [Mutex] waiting for: [received:nodes:917bd17a-6763-4a13-96e4-9161b605bb26:localhost]

2023-03-29 22:29:58 | [Mutex] waiting for: [received:nodes:917bd17a-6763-4a13-96e4-9161b605bb26:localhost]

2023-03-29 22:29:58 | [Mutex] received everything.

2023-03-29 22:29:58 | [Mutex] isItemNotified: received:node:917bd17a-6763-4a13-96e4-9161b605bb26:localhost:node-46779800-e40f-41f8-8f10-87689a8282f5:Node 46779800-e40f-41f8-8f10-87689a8282f5 :: false

createNodes 1.367s
2023-03-29 22:29:55 |

2023-03-29 22:29:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-29 22:29:55 | ------------------------------------

2023-03-29 22:29:55 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-46779800-e40f-41f8-8f10-87689a8282f5</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 46779800-e40f-41f8-8f10-87689a8282f5</title></pubsub></data>

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

2023-03-29 22:29:56 | [Mutex] waiting for: [received:nodes:88cb3b05-a351-4f7b-b016-d76946e9ddd4:localhost]

2023-03-29 22:29:56 | [Mutex] waiting for: [received:nodes:88cb3b05-a351-4f7b-b016-d76946e9ddd4:localhost]

2023-03-29 22:29:56 | [Mutex] waiting for: [received:nodes:88cb3b05-a351-4f7b-b016-d76946e9ddd4:localhost]

2023-03-29 22:29:56 | [Mutex] waiting for: [received:nodes:88cb3b05-a351-4f7b-b016-d76946e9ddd4:localhost]

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

2023-03-29 22:29:56 | [Mutex] isItemNotified: received:node:88cb3b05-a351-4f7b-b016-d76946e9ddd4:localhost:node-46779800-e40f-41f8-8f10-87689a8282f5:Node 46779800-e40f-41f8-8f10-87689a8282f5 :: true

createSubnodes 1.026s
2023-03-29 22:29:56 |

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

2023-03-29 22:29:56 | ------------------------------------

2023-03-29 22:29:56 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-4a3842e6-72d1-4be0-9921-a743dd4a2bad</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 4a3842e6-72d1-4be0-9921-a743dd4a2bad</title></pubsub></data>

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

2023-03-29 22:29:57 | [Mutex] waiting for: [received:nodes:ec7315ea-6280-413c-ab57-f25a48d26582:localhost]

2023-03-29 22:29:57 | [Mutex] waiting for: [received:nodes:ec7315ea-6280-413c-ab57-f25a48d26582:localhost]

2023-03-29 22:29:57 | [Mutex] waiting for: [received:nodes:ec7315ea-6280-413c-ab57-f25a48d26582:localhost]

2023-03-29 22:29:57 | [Mutex] waiting for: [received:nodes:ec7315ea-6280-413c-ab57-f25a48d26582:localhost]

2023-03-29 22:29:57 | [Mutex] waiting for: [received:nodes:ec7315ea-6280-413c-ab57-f25a48d26582:localhost]

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

2023-03-29 22:29:57 | [Mutex] isItemNotified: received:node:ec7315ea-6280-413c-ab57-f25a48d26582:localhost:node-4a3842e6-72d1-4be0-9921-a743dd4a2bad:Node 4a3842e6-72d1-4be0-9921-a743dd4a2bad :: true

deleteNodes 1.017s
2023-03-29 22:30:02 |

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

2023-03-29 22:30:02 | ------------------------------------

2023-03-29 22:30:02 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-4a3842e6-72d1-4be0-9921-a743dd4a2bad</node></data>

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

2023-03-29 22:30:03 | [Mutex] waiting for: [received:nodes:8222a63f-7ea7-4be5-94d7-6f425ceb0b78:localhost]

2023-03-29 22:30:03 | [Mutex] waiting for: [received:nodes:8222a63f-7ea7-4be5-94d7-6f425ceb0b78:localhost]

2023-03-29 22:30:03 | [Mutex] received everything.

2023-03-29 22:30:03 | [Mutex] isItemNotified: received:node:8222a63f-7ea7-4be5-94d7-6f425ceb0b78:localhost:node-4a3842e6-72d1-4be0-9921-a743dd4a2bad:Node 4a3842e6-72d1-4be0-9921-a743dd4a2bad :: false

deleteSubnodes 1.145s
2023-03-29 22:30:01 |

2023-03-29 22:30:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-29 22:30:01 | ------------------------------------

2023-03-29 22:30:01 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-46779800-e40f-41f8-8f10-87689a8282f5</node></data>

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

2023-03-29 22:30:02 | [Mutex] waiting for: [received:nodes:3c988790-1353-4252-944c-f100f55b6e79:localhost]

2023-03-29 22:30:02 | [Mutex] received everything.

2023-03-29 22:30:02 | [Mutex] isItemNotified: received:node:3c988790-1353-4252-944c-f100f55b6e79:localhost:node-46779800-e40f-41f8-8f10-87689a8282f5:Node 46779800-e40f-41f8-8f10-87689a8282f5 :: false

2023-03-29 22:30:02 | [Mutex] waiting for: [received:nodes:4b7779f7-60d1-4d5d-82d6-339472dc174f:localhost]

2023-03-29 22:30:02 | [Mutex] received everything.

2023-03-29 22:30:02 | [Mutex] isItemNotified: received:node:4b7779f7-60d1-4d5d-82d6-339472dc174f:localhost:node-46779800-e40f-41f8-8f10-87689a8282f5:Node 46779800-e40f-41f8-8f10-87689a8282f5 :: false

publishItemsToNodes 0.180s
2023-03-29 22:29:59 |

2023-03-29 22:29:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-29 22:29:59 | ------------------------------------

2023-03-29 22:29:59 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-46779800-e40f-41f8-8f10-87689a8282f5</node><item-id>item-ebc8d65b-bb71-44e5-93ad-9dfe5f9d7f8a</item-id><entry><test>item-ebc8d65b-bb71-44e5-93ad-9dfe5f9d7f8a</test></entry></data>

2023-03-29 22:29:59 | 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-ebc8d65b-bb71-44e5-93ad-9dfe5f9d7f8a</value></item-id></result>

2023-03-29 22:29:59 | [Mutex] waiting for: [published:item:notifieditem-ebc8d65b-bb71-44e5-93ad-9dfe5f9d7f8a:admin@test-domain.com]

2023-03-29 22:29:59 | [Mutex] received everything.

2023-03-29 22:29:59 | [Mutex] isItemNotified: published:item:notifieditem-ebc8d65b-bb71-44e5-93ad-9dfe5f9d7f8a:admin@test-domain.com :: true

retractItemsFromNodes 0.267s
2023-03-29 22:30:00 |

2023-03-29 22:30:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-29 22:30:00 | ------------------------------------

2023-03-29 22:30:00 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-46779800-e40f-41f8-8f10-87689a8282f5</node><item-id>item-ebc8d65b-bb71-44e5-93ad-9dfe5f9d7f8a</item-id></data>

2023-03-29 22:30:00 | 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-ebc8d65b-bb71-44e5-93ad-9dfe5f9d7f8a</value></item-id></result>

2023-03-29 22:30:00 | [Mutex] received everything.

2023-03-29 22:30:00 | [Mutex] isItemNotified: retracted:item:notifieditem-ebc8d65b-bb71-44e5-93ad-9dfe5f9d7f8a:admin@test-domain.com :: true

retrieveItemsFromNodes 0.238s
2023-03-29 22:29:59 |

2023-03-29 22:29:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-29 22:29:59 | ------------------------------------

2023-03-29 22:29:59 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-46779800-e40f-41f8-8f10-87689a8282f5</node><item-id>item-ebc8d65b-bb71-44e5-93ad-9dfe5f9d7f8a</item-id></data>

2023-03-29 22:30:00 | 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-46779800-e40f-41f8-8f10-87689a8282f5</value></node><item-id type="text-single" label="Item ID"><value>item-ebc8d65b-bb71-44e5-93ad-9dfe5f9d7f8a</value></item-id><item type="text-multi" label="Item"><value><item id="item-ebc8d65b-bb71-44e5-93ad-9dfe5f9d7f8a"><test>item-ebc8d65b-bb71-44e5-93ad-9dfe5f9d7f8a</test></item></value></item></result>

2023-03-29 22:30:00 | [Mutex] notify: [retrieved:item:item-ebc8d65b-bb71-44e5-93ad-9dfe5f9d7f8a:payload-matches:true:localhost]

2023-03-29 22:30:00 | [Mutex] received everything.

2023-03-29 22:30:00 | [Mutex] isItemNotified: retrieved:item:item-ebc8d65b-bb71-44e5-93ad-9dfe5f9d7f8a:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.048s
2023-03-29 22:30:00 |

2023-03-29 22:30:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-29 22:30:00 | ------------------------------------

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

2023-03-29 22:30:00 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-46779800-e40f-41f8-8f10-87689a8282f5</value><value>test</value><value>node-4a3842e6-72d1-4be0-9921-a743dd4a2bad</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2023-03-29 22:30:00 |

2023-03-29 22:30:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-29 22:30:00 | ------------------------------------

2023-03-29 22:30:00 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-46779800-e40f-41f8-8f10-87689a8282f5)</node-pattern></data>

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

subscribeNodes 1.115s
2023-03-29 22:29:58 |

2023-03-29 22:29:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-29 22:29:58 | ------------------------------------

2023-03-29 22:29:58 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-46779800-e40f-41f8-8f10-87689a8282f5</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.295s
2023-03-29 22:30:00 |

2023-03-29 22:30:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-29 22:30:00 | ------------------------------------

2023-03-29 22:30:00 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-46779800-e40f-41f8-8f10-87689a8282f5</node><jids><value>admin@test-domain.com</value></jids></data>

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