Generated by TestNG with ReportNG at 22:15 PDT on Wednesday 15 March 2023
root@f9c07ffec79b / 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.323s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.095s
2023-03-15 22:29:54 |

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

2023-03-15 22:29:54 | ------------------------------------

2023-03-15 22:29:54 | [Mutex] waiting for: [configured:node:node-ddae5b69-8e25-4e2b-a994-c41de3e22886:node-bb1a2c21-0809-4751-b5f0-f16334bd10ad]

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

2023-03-15 22:29:54 | [Mutex] isItemNotified: configured:node:node-ddae5b69-8e25-4e2b-a994-c41de3e22886:node-bb1a2c21-0809-4751-b5f0-f16334bd10ad :: true

2023-03-15 22:29:55 | [Mutex] waiting for: [received:nodes:a0caefac-c79e-40a1-8a3e-f15509ed11a6:localhost]

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

2023-03-15 22:29:55 | [Mutex] isItemNotified: received:node:a0caefac-c79e-40a1-8a3e-f15509ed11a6:localhost:node-ddae5b69-8e25-4e2b-a994-c41de3e22886:Node ddae5b69-8e25-4e2b-a994-c41de3e22886 :: true

2023-03-15 22:29:55 | [Mutex] waiting for: [received:nodes:5b842a12-f0e1-4594-8150-3d19cc65b566:localhost]

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

2023-03-15 22:29:55 | [Mutex] isItemNotified: received:node:5b842a12-f0e1-4594-8150-3d19cc65b566:localhost:node-ddae5b69-8e25-4e2b-a994-c41de3e22886:Node ddae5b69-8e25-4e2b-a994-c41de3e22886 :: false

createNodes 1.364s
2023-03-15 22:29:52 |

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

2023-03-15 22:29:52 | ------------------------------------

2023-03-15 22:29:52 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-ddae5b69-8e25-4e2b-a994-c41de3e22886</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node ddae5b69-8e25-4e2b-a994-c41de3e22886</title></pubsub></data>

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

2023-03-15 22:29:53 | [Mutex] waiting for: [received:nodes:88b285fc-8b9b-44e6-a538-859f00d12da1:localhost]

2023-03-15 22:29:53 | [Mutex] waiting for: [received:nodes:88b285fc-8b9b-44e6-a538-859f00d12da1:localhost]

2023-03-15 22:29:53 | [Mutex] waiting for: [received:nodes:88b285fc-8b9b-44e6-a538-859f00d12da1:localhost]

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

2023-03-15 22:29:53 | [Mutex] isItemNotified: received:node:88b285fc-8b9b-44e6-a538-859f00d12da1:localhost:node-ddae5b69-8e25-4e2b-a994-c41de3e22886:Node ddae5b69-8e25-4e2b-a994-c41de3e22886 :: true

createSubnodes 1.028s
2023-03-15 22:29:53 |

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

2023-03-15 22:29:53 | ------------------------------------

2023-03-15 22:29:53 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-bb1a2c21-0809-4751-b5f0-f16334bd10ad</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node bb1a2c21-0809-4751-b5f0-f16334bd10ad</title></pubsub></data>

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

2023-03-15 22:29:54 | [Mutex] waiting for: [received:nodes:3fb1a8a2-a7fa-49f0-abde-dfeff57087b4:localhost]

2023-03-15 22:29:54 | [Mutex] waiting for: [received:nodes:3fb1a8a2-a7fa-49f0-abde-dfeff57087b4:localhost]

2023-03-15 22:29:54 | [Mutex] waiting for: [received:nodes:3fb1a8a2-a7fa-49f0-abde-dfeff57087b4:localhost]

2023-03-15 22:29:54 | [Mutex] waiting for: [received:nodes:3fb1a8a2-a7fa-49f0-abde-dfeff57087b4:localhost]

2023-03-15 22:29:54 | [Mutex] waiting for: [received:nodes:3fb1a8a2-a7fa-49f0-abde-dfeff57087b4:localhost]

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

2023-03-15 22:29:54 | [Mutex] isItemNotified: received:node:3fb1a8a2-a7fa-49f0-abde-dfeff57087b4:localhost:node-bb1a2c21-0809-4751-b5f0-f16334bd10ad:Node bb1a2c21-0809-4751-b5f0-f16334bd10ad :: true

deleteNodes 1.016s
2023-03-15 22:29:59 |

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

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

2023-03-15 22:29:59 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-bb1a2c21-0809-4751-b5f0-f16334bd10ad</node></data>

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

2023-03-15 22:30:00 | [Mutex] waiting for: [received:nodes:3ae3641a-c0b7-4510-9756-9c921a54b453:localhost]

2023-03-15 22:30:00 | [Mutex] waiting for: [received:nodes:3ae3641a-c0b7-4510-9756-9c921a54b453:localhost]

2023-03-15 22:30:00 | [Mutex] waiting for: [received:nodes:3ae3641a-c0b7-4510-9756-9c921a54b453:localhost]

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

2023-03-15 22:30:00 | [Mutex] isItemNotified: received:node:3ae3641a-c0b7-4510-9756-9c921a54b453:localhost:node-bb1a2c21-0809-4751-b5f0-f16334bd10ad:Node bb1a2c21-0809-4751-b5f0-f16334bd10ad :: false

deleteSubnodes 1.143s
2023-03-15 22:29:58 |

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

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

2023-03-15 22:29:58 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-ddae5b69-8e25-4e2b-a994-c41de3e22886</node></data>

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

2023-03-15 22:29:59 | [Mutex] waiting for: [received:nodes:05cbe1f4-afe8-45f8-b736-6f1ff035106d:localhost]

2023-03-15 22:29:59 | [Mutex] waiting for: [received:nodes:05cbe1f4-afe8-45f8-b736-6f1ff035106d:localhost]

2023-03-15 22:29:59 | [Mutex] waiting for: [received:nodes:05cbe1f4-afe8-45f8-b736-6f1ff035106d:localhost]

2023-03-15 22:29:59 | [Mutex] waiting for: [received:nodes:05cbe1f4-afe8-45f8-b736-6f1ff035106d:localhost]

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

2023-03-15 22:29:59 | [Mutex] isItemNotified: received:node:05cbe1f4-afe8-45f8-b736-6f1ff035106d:localhost:node-ddae5b69-8e25-4e2b-a994-c41de3e22886:Node ddae5b69-8e25-4e2b-a994-c41de3e22886 :: false

2023-03-15 22:29:59 | [Mutex] waiting for: [received:nodes:7eb36a8a-437f-4f37-8a8d-e996c7d0d808:localhost]

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

2023-03-15 22:29:59 | [Mutex] isItemNotified: received:node:7eb36a8a-437f-4f37-8a8d-e996c7d0d808:localhost:node-ddae5b69-8e25-4e2b-a994-c41de3e22886:Node ddae5b69-8e25-4e2b-a994-c41de3e22886 :: false

publishItemsToNodes 0.190s
2023-03-15 22:29:56 |

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

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

2023-03-15 22:29:56 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-ddae5b69-8e25-4e2b-a994-c41de3e22886</node><item-id>item-2959b29b-425a-4669-af7d-99ba7e34323c</item-id><entry><test>item-2959b29b-425a-4669-af7d-99ba7e34323c</test></entry></data>

2023-03-15 22:29:57 | 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-2959b29b-425a-4669-af7d-99ba7e34323c</value></item-id></result>

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

2023-03-15 22:29:57 | [Mutex] isItemNotified: published:item:notifieditem-2959b29b-425a-4669-af7d-99ba7e34323c:admin@test-domain.com :: true

retractItemsFromNodes 0.240s
2023-03-15 22:29:57 |

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

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

2023-03-15 22:29:57 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-ddae5b69-8e25-4e2b-a994-c41de3e22886</node><item-id>item-2959b29b-425a-4669-af7d-99ba7e34323c</item-id></data>

2023-03-15 22:29:57 | 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-2959b29b-425a-4669-af7d-99ba7e34323c</value></item-id></result>

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

2023-03-15 22:29:57 | [Mutex] isItemNotified: retracted:item:notifieditem-2959b29b-425a-4669-af7d-99ba7e34323c:admin@test-domain.com :: true

retrieveItemsFromNodes 0.229s
2023-03-15 22:29:57 |

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

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

2023-03-15 22:29:57 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-ddae5b69-8e25-4e2b-a994-c41de3e22886</node><item-id>item-2959b29b-425a-4669-af7d-99ba7e34323c</item-id></data>

2023-03-15 22:29:57 | 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-ddae5b69-8e25-4e2b-a994-c41de3e22886</value></node><item-id type="text-single" label="Item ID"><value>item-2959b29b-425a-4669-af7d-99ba7e34323c</value></item-id><item type="text-multi" label="Item"><value><item id="item-2959b29b-425a-4669-af7d-99ba7e34323c"><test>item-2959b29b-425a-4669-af7d-99ba7e34323c</test></item></value></item></result>

2023-03-15 22:29:57 | [Mutex] notify: [retrieved:item:item-2959b29b-425a-4669-af7d-99ba7e34323c:payload-matches:true:localhost]

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

2023-03-15 22:29:57 | [Mutex] isItemNotified: retrieved:item:item-2959b29b-425a-4669-af7d-99ba7e34323c:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-03-15 22:29:57 |

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

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

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

2023-03-15 22:29:57 | 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-ddae5b69-8e25-4e2b-a994-c41de3e22886</value><value>node-bb1a2c21-0809-4751-b5f0-f16334bd10ad</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-03-15 22:29:57 |

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

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

2023-03-15 22:29:57 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-ddae5b69-8e25-4e2b-a994-c41de3e22886)</node-pattern></data>

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

subscribeNodes 1.154s
2023-03-15 22:29:55 |

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

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

2023-03-15 22:29:55 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-ddae5b69-8e25-4e2b-a994-c41de3e22886</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.199s
2023-03-15 22:29:57 |

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

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

2023-03-15 22:29:57 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-ddae5b69-8e25-4e2b-a994-c41de3e22886</node><jids><value>admin@test-domain.com</value></jids></data>

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