Generated by TestNG with ReportNG at 23:44 PDT on Wednesday 25 October 2023
root@8dfa9d99ff97 / Java 17.0.8 (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.469s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.094s
2023-10-25 23:59:14 |

2023-10-25 23:59:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-25 23:59:14 | ------------------------------------

2023-10-25 23:59:14 | [Mutex] waiting for: [configured:node:node-e2fca8da-5cf5-4d26-8cdd-789763f07b37:node-e442174e-8e57-43b9-aa33-a1ec7892063c]

2023-10-25 23:59:14 | [Mutex] received everything.

2023-10-25 23:59:14 | [Mutex] isItemNotified: configured:node:node-e2fca8da-5cf5-4d26-8cdd-789763f07b37:node-e442174e-8e57-43b9-aa33-a1ec7892063c :: true

2023-10-25 23:59:15 | [Mutex] waiting for: [received:nodes:1ba249e5-f1e8-429d-9df5-35e918b5f1c1:localhost]

2023-10-25 23:59:15 | [Mutex] received everything.

2023-10-25 23:59:15 | [Mutex] isItemNotified: received:node:1ba249e5-f1e8-429d-9df5-35e918b5f1c1:localhost:node-e2fca8da-5cf5-4d26-8cdd-789763f07b37:Node e2fca8da-5cf5-4d26-8cdd-789763f07b37 :: true

2023-10-25 23:59:15 | [Mutex] waiting for: [received:nodes:deec08d7-0ed7-4cf1-9e6b-a3fb0bd7c147:localhost]

2023-10-25 23:59:15 | [Mutex] waiting for: [received:nodes:deec08d7-0ed7-4cf1-9e6b-a3fb0bd7c147:localhost]

2023-10-25 23:59:15 | [Mutex] received everything.

2023-10-25 23:59:15 | [Mutex] isItemNotified: received:node:deec08d7-0ed7-4cf1-9e6b-a3fb0bd7c147:localhost:node-e2fca8da-5cf5-4d26-8cdd-789763f07b37:Node e2fca8da-5cf5-4d26-8cdd-789763f07b37 :: false

createNodes 1.456s
2023-10-25 23:59:11 |

2023-10-25 23:59:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-25 23:59:11 | ------------------------------------

2023-10-25 23:59:11 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-e2fca8da-5cf5-4d26-8cdd-789763f07b37</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node e2fca8da-5cf5-4d26-8cdd-789763f07b37</title></pubsub></data>

2023-10-25 23:59:11 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-10-25 23:59:12 | [Mutex] waiting for: [received:nodes:539cd7ea-7e76-4ba6-929a-f3cada77d4a8:localhost]

2023-10-25 23:59:12 | [Mutex] waiting for: [received:nodes:539cd7ea-7e76-4ba6-929a-f3cada77d4a8:localhost]

2023-10-25 23:59:12 | [Mutex] waiting for: [received:nodes:539cd7ea-7e76-4ba6-929a-f3cada77d4a8:localhost]

2023-10-25 23:59:12 | [Mutex] waiting for: [received:nodes:539cd7ea-7e76-4ba6-929a-f3cada77d4a8:localhost]

2023-10-25 23:59:12 | [Mutex] received everything.

2023-10-25 23:59:12 | [Mutex] isItemNotified: received:node:539cd7ea-7e76-4ba6-929a-f3cada77d4a8:localhost:node-e2fca8da-5cf5-4d26-8cdd-789763f07b37:Node e2fca8da-5cf5-4d26-8cdd-789763f07b37 :: true

createSubnodes 1.035s
2023-10-25 23:59:12 |

2023-10-25 23:59:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-25 23:59:12 | ------------------------------------

2023-10-25 23:59:12 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-e442174e-8e57-43b9-aa33-a1ec7892063c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node e442174e-8e57-43b9-aa33-a1ec7892063c</title></pubsub></data>

2023-10-25 23:59:12 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-10-25 23:59:14 | [Mutex] waiting for: [received:nodes:e5b7150b-2bf6-4fb7-bc11-0ad05fa9ae39:localhost]

2023-10-25 23:59:14 | [Mutex] waiting for: [received:nodes:e5b7150b-2bf6-4fb7-bc11-0ad05fa9ae39:localhost]

2023-10-25 23:59:14 | [Mutex] waiting for: [received:nodes:e5b7150b-2bf6-4fb7-bc11-0ad05fa9ae39:localhost]

2023-10-25 23:59:14 | [Mutex] waiting for: [received:nodes:e5b7150b-2bf6-4fb7-bc11-0ad05fa9ae39:localhost]

2023-10-25 23:59:14 | [Mutex] waiting for: [received:nodes:e5b7150b-2bf6-4fb7-bc11-0ad05fa9ae39:localhost]

2023-10-25 23:59:14 | [Mutex] received everything.

2023-10-25 23:59:14 | [Mutex] isItemNotified: received:node:e5b7150b-2bf6-4fb7-bc11-0ad05fa9ae39:localhost:node-e442174e-8e57-43b9-aa33-a1ec7892063c:Node e442174e-8e57-43b9-aa33-a1ec7892063c :: true

deleteNodes 1.025s
2023-10-25 23:59:19 |

2023-10-25 23:59:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-25 23:59:19 | ------------------------------------

2023-10-25 23:59:19 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-e442174e-8e57-43b9-aa33-a1ec7892063c</node></data>

2023-10-25 23:59:19 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-10-25 23:59:20 | [Mutex] waiting for: [received:nodes:a00d61dc-e7bf-4265-bca0-2235c62f0ab9:localhost]

2023-10-25 23:59:20 | [Mutex] waiting for: [received:nodes:a00d61dc-e7bf-4265-bca0-2235c62f0ab9:localhost]

2023-10-25 23:59:20 | [Mutex] waiting for: [received:nodes:a00d61dc-e7bf-4265-bca0-2235c62f0ab9:localhost]

2023-10-25 23:59:20 | [Mutex] received everything.

2023-10-25 23:59:20 | [Mutex] isItemNotified: received:node:a00d61dc-e7bf-4265-bca0-2235c62f0ab9:localhost:node-e442174e-8e57-43b9-aa33-a1ec7892063c:Node e442174e-8e57-43b9-aa33-a1ec7892063c :: false

deleteSubnodes 1.114s
2023-10-25 23:59:18 |

2023-10-25 23:59:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-25 23:59:18 | ------------------------------------

2023-10-25 23:59:18 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-e2fca8da-5cf5-4d26-8cdd-789763f07b37</node></data>

2023-10-25 23:59:18 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-10-25 23:59:19 | [Mutex] waiting for: [received:nodes:ddc67550-e38b-4544-8975-ebeb8ba2cdcc:localhost]

2023-10-25 23:59:19 | [Mutex] received everything.

2023-10-25 23:59:19 | [Mutex] isItemNotified: received:node:ddc67550-e38b-4544-8975-ebeb8ba2cdcc:localhost:node-e2fca8da-5cf5-4d26-8cdd-789763f07b37:Node e2fca8da-5cf5-4d26-8cdd-789763f07b37 :: false

2023-10-25 23:59:19 | [Mutex] waiting for: [received:nodes:c4ddfff0-a74c-4f8b-9cdd-f48a4284f16f:localhost]

2023-10-25 23:59:19 | [Mutex] received everything.

2023-10-25 23:59:19 | [Mutex] isItemNotified: received:node:c4ddfff0-a74c-4f8b-9cdd-f48a4284f16f:localhost:node-e2fca8da-5cf5-4d26-8cdd-789763f07b37:Node e2fca8da-5cf5-4d26-8cdd-789763f07b37 :: false

publishItemsToNodes 0.175s
2023-10-25 23:59:16 |

2023-10-25 23:59:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-25 23:59:16 | ------------------------------------

2023-10-25 23:59:16 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-e2fca8da-5cf5-4d26-8cdd-789763f07b37</node><item-id>item-d4f656ee-48d0-4510-8449-b177f707de2d</item-id><entry><test>item-d4f656ee-48d0-4510-8449-b177f707de2d</test></entry></data>

2023-10-25 23:59:16 | 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-d4f656ee-48d0-4510-8449-b177f707de2d</value></item-id></result>

2023-10-25 23:59:16 | [Mutex] received everything.

2023-10-25 23:59:16 | [Mutex] isItemNotified: published:item:notifieditem-d4f656ee-48d0-4510-8449-b177f707de2d:admin@test-domain.com :: true

retractItemsFromNodes 0.229s
2023-10-25 23:59:16 |

2023-10-25 23:59:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-25 23:59:16 | ------------------------------------

2023-10-25 23:59:16 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-e2fca8da-5cf5-4d26-8cdd-789763f07b37</node><item-id>item-d4f656ee-48d0-4510-8449-b177f707de2d</item-id></data>

2023-10-25 23:59:17 | 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-d4f656ee-48d0-4510-8449-b177f707de2d</value></item-id></result>

2023-10-25 23:59:17 | [Mutex] waiting for: [retracted:item:notifieditem-d4f656ee-48d0-4510-8449-b177f707de2d:admin@test-domain.com]

2023-10-25 23:59:17 | [Mutex] received everything.

2023-10-25 23:59:17 | [Mutex] isItemNotified: retracted:item:notifieditem-d4f656ee-48d0-4510-8449-b177f707de2d:admin@test-domain.com :: true

retrieveItemsFromNodes 0.252s
2023-10-25 23:59:16 |

2023-10-25 23:59:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-25 23:59:16 | ------------------------------------

2023-10-25 23:59:16 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-e2fca8da-5cf5-4d26-8cdd-789763f07b37</node><item-id>item-d4f656ee-48d0-4510-8449-b177f707de2d</item-id></data>

2023-10-25 23:59:16 | 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-e2fca8da-5cf5-4d26-8cdd-789763f07b37</value></node><item-id type="text-single" label="Item ID"><value>item-d4f656ee-48d0-4510-8449-b177f707de2d</value></item-id><item type="text-multi" label="Item"><value><item id="item-d4f656ee-48d0-4510-8449-b177f707de2d"><test>item-d4f656ee-48d0-4510-8449-b177f707de2d</test></item></value></item></result>

2023-10-25 23:59:16 | [Mutex] notify: [retrieved:item:item-d4f656ee-48d0-4510-8449-b177f707de2d:payload-matches:true:localhost]

2023-10-25 23:59:16 | [Mutex] received everything.

2023-10-25 23:59:16 | [Mutex] isItemNotified: retrieved:item:item-d4f656ee-48d0-4510-8449-b177f707de2d:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-10-25 23:59:16 |

2023-10-25 23:59:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-25 23:59:16 | ------------------------------------

2023-10-25 23:59:16 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2023-10-25 23:59:16 | 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-e442174e-8e57-43b9-aa33-a1ec7892063c</value><value>node-e2fca8da-5cf5-4d26-8cdd-789763f07b37</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-10-25 23:59:16 |

2023-10-25 23:59:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-25 23:59:16 | ------------------------------------

2023-10-25 23:59:16 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-e2fca8da-5cf5-4d26-8cdd-789763f07b37)</node-pattern></data>

2023-10-25 23:59:16 | 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-10-25 23:59:15 |

2023-10-25 23:59:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-25 23:59:15 | ------------------------------------

2023-10-25 23:59:15 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-e2fca8da-5cf5-4d26-8cdd-789763f07b37</node><jids><value>admin@test-domain.com</value></jids></data>

2023-10-25 23:59:15 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.205s
2023-10-25 23:59:17 |

2023-10-25 23:59:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-25 23:59:17 | ------------------------------------

2023-10-25 23:59:17 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-e2fca8da-5cf5-4d26-8cdd-789763f07b37</node><jids><value>admin@test-domain.com</value></jids></data>

2023-10-25 23:59:17 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>