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

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.106s
2023-03-29 22:30:17 |

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

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

2023-03-29 22:30:17 | [Mutex] waiting for: [configured:node:node-ca586dec-eb14-4322-9804-f46c1b4d7128:node-224e5c82-9b7c-4772-9d85-14509585730a]

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

2023-03-29 22:30:17 | [Mutex] isItemNotified: configured:node:node-ca586dec-eb14-4322-9804-f46c1b4d7128:node-224e5c82-9b7c-4772-9d85-14509585730a :: true

2023-03-29 22:30:18 | [Mutex] waiting for: [received:nodes:e45d839d-7761-437e-8435-38131bce2811:localhost]

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

2023-03-29 22:30:18 | [Mutex] isItemNotified: received:node:e45d839d-7761-437e-8435-38131bce2811:localhost:node-ca586dec-eb14-4322-9804-f46c1b4d7128:Node ca586dec-eb14-4322-9804-f46c1b4d7128 :: true

2023-03-29 22:30:18 | [Mutex] waiting for: [received:nodes:53f5adeb-093b-483d-b435-fdd800435973:localhost]

2023-03-29 22:30:18 | [Mutex] waiting for: [received:nodes:53f5adeb-093b-483d-b435-fdd800435973:localhost]

2023-03-29 22:30:18 | [Mutex] waiting for: [received:nodes:53f5adeb-093b-483d-b435-fdd800435973:localhost]

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

2023-03-29 22:30:18 | [Mutex] isItemNotified: received:node:53f5adeb-093b-483d-b435-fdd800435973:localhost:node-ca586dec-eb14-4322-9804-f46c1b4d7128:Node ca586dec-eb14-4322-9804-f46c1b4d7128 :: false

createNodes 1.412s
2023-03-29 22:30:14 |

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

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

2023-03-29 22:30:14 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-ca586dec-eb14-4322-9804-f46c1b4d7128</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node ca586dec-eb14-4322-9804-f46c1b4d7128</title></pubsub></data>

2023-03-29 22:30:15 | 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:30:16 | [Mutex] waiting for: [received:nodes:4078f0a4-2326-46ac-9787-36c3617d692c:localhost]

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

2023-03-29 22:30:16 | [Mutex] isItemNotified: received:node:4078f0a4-2326-46ac-9787-36c3617d692c:localhost:node-ca586dec-eb14-4322-9804-f46c1b4d7128:Node ca586dec-eb14-4322-9804-f46c1b4d7128 :: true

createSubnodes 1.032s
2023-03-29 22:30:16 |

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

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

2023-03-29 22:30:16 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-224e5c82-9b7c-4772-9d85-14509585730a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 224e5c82-9b7c-4772-9d85-14509585730a</title></pubsub></data>

2023-03-29 22:30:16 | 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:30:17 | [Mutex] waiting for: [received:nodes:5020e926-c0c1-4e0e-a5de-ed7be2611ef5:localhost]

2023-03-29 22:30:17 | [Mutex] waiting for: [received:nodes:5020e926-c0c1-4e0e-a5de-ed7be2611ef5:localhost]

2023-03-29 22:30:17 | [Mutex] waiting for: [received:nodes:5020e926-c0c1-4e0e-a5de-ed7be2611ef5:localhost]

2023-03-29 22:30:17 | [Mutex] waiting for: [received:nodes:5020e926-c0c1-4e0e-a5de-ed7be2611ef5:localhost]

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

2023-03-29 22:30:17 | [Mutex] isItemNotified: received:node:5020e926-c0c1-4e0e-a5de-ed7be2611ef5:localhost:node-224e5c82-9b7c-4772-9d85-14509585730a:Node 224e5c82-9b7c-4772-9d85-14509585730a :: true

deleteNodes 1.023s
2023-03-29 22:30:22 |

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

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

2023-03-29 22:30:22 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-224e5c82-9b7c-4772-9d85-14509585730a</node></data>

2023-03-29 22:30:22 | 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:23 | [Mutex] waiting for: [received:nodes:f0434c7b-efa0-4f0f-b574-4ec1f9dd576d:localhost]

2023-03-29 22:30:23 | [Mutex] waiting for: [received:nodes:f0434c7b-efa0-4f0f-b574-4ec1f9dd576d:localhost]

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

2023-03-29 22:30:23 | [Mutex] isItemNotified: received:node:f0434c7b-efa0-4f0f-b574-4ec1f9dd576d:localhost:node-224e5c82-9b7c-4772-9d85-14509585730a:Node 224e5c82-9b7c-4772-9d85-14509585730a :: false

deleteSubnodes 1.133s
2023-03-29 22:30:21 |

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

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

2023-03-29 22:30:21 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-ca586dec-eb14-4322-9804-f46c1b4d7128</node></data>

2023-03-29 22:30:21 | 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:22 | [Mutex] waiting for: [received:nodes:aae4b87e-063b-4372-874b-6126ceef3d29:localhost]

2023-03-29 22:30:22 | [Mutex] waiting for: [received:nodes:aae4b87e-063b-4372-874b-6126ceef3d29:localhost]

2023-03-29 22:30:22 | [Mutex] waiting for: [received:nodes:aae4b87e-063b-4372-874b-6126ceef3d29:localhost]

2023-03-29 22:30:22 | [Mutex] waiting for: [received:nodes:aae4b87e-063b-4372-874b-6126ceef3d29:localhost]

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

2023-03-29 22:30:22 | [Mutex] isItemNotified: received:node:aae4b87e-063b-4372-874b-6126ceef3d29:localhost:node-ca586dec-eb14-4322-9804-f46c1b4d7128:Node ca586dec-eb14-4322-9804-f46c1b4d7128 :: false

2023-03-29 22:30:22 | [Mutex] waiting for: [received:nodes:d3c177b7-6b4c-474c-abd2-6c63cf434479:localhost]

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

2023-03-29 22:30:22 | [Mutex] isItemNotified: received:node:d3c177b7-6b4c-474c-abd2-6c63cf434479:localhost:node-ca586dec-eb14-4322-9804-f46c1b4d7128:Node ca586dec-eb14-4322-9804-f46c1b4d7128 :: false

publishItemsToNodes 0.189s
2023-03-29 22:30:19 |

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

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

2023-03-29 22:30:19 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-ca586dec-eb14-4322-9804-f46c1b4d7128</node><item-id>item-1b39f5fa-5f2e-4af1-bb61-103df19d55d1</item-id><entry><test>item-1b39f5fa-5f2e-4af1-bb61-103df19d55d1</test></entry></data>

2023-03-29 22:30:19 | 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-1b39f5fa-5f2e-4af1-bb61-103df19d55d1</value></item-id></result>

2023-03-29 22:30:19 | [Mutex] waiting for: [published:item:notifieditem-1b39f5fa-5f2e-4af1-bb61-103df19d55d1:admin@test-domain.com]

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

2023-03-29 22:30:19 | [Mutex] isItemNotified: published:item:notifieditem-1b39f5fa-5f2e-4af1-bb61-103df19d55d1:admin@test-domain.com :: true

retractItemsFromNodes 0.259s
2023-03-29 22:30:19 |

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

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

2023-03-29 22:30:19 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-ca586dec-eb14-4322-9804-f46c1b4d7128</node><item-id>item-1b39f5fa-5f2e-4af1-bb61-103df19d55d1</item-id></data>

2023-03-29 22:30:20 | 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-1b39f5fa-5f2e-4af1-bb61-103df19d55d1</value></item-id></result>

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

2023-03-29 22:30:20 | [Mutex] isItemNotified: retracted:item:notifieditem-1b39f5fa-5f2e-4af1-bb61-103df19d55d1:admin@test-domain.com :: true

retrieveItemsFromNodes 0.279s
2023-03-29 22:30:19 |

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

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

2023-03-29 22:30:19 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-ca586dec-eb14-4322-9804-f46c1b4d7128</node><item-id>item-1b39f5fa-5f2e-4af1-bb61-103df19d55d1</item-id></data>

2023-03-29 22:30:19 | 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-ca586dec-eb14-4322-9804-f46c1b4d7128</value></node><item-id type="text-single" label="Item ID"><value>item-1b39f5fa-5f2e-4af1-bb61-103df19d55d1</value></item-id><item type="text-multi" label="Item"><value><item id="item-1b39f5fa-5f2e-4af1-bb61-103df19d55d1"><test>item-1b39f5fa-5f2e-4af1-bb61-103df19d55d1</test></item></value></item></result>

2023-03-29 22:30:19 | [Mutex] notify: [retrieved:item:item-1b39f5fa-5f2e-4af1-bb61-103df19d55d1:payload-matches:true:localhost]

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

2023-03-29 22:30:19 | [Mutex] isItemNotified: retrieved:item:item-1b39f5fa-5f2e-4af1-bb61-103df19d55d1:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2023-03-29 22:30:19 |

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

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

2023-03-29 22:30:19 | 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:19 | 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-ca586dec-eb14-4322-9804-f46c1b4d7128</value><value>node-224e5c82-9b7c-4772-9d85-14509585730a</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-03-29 22:30:19 |

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

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

2023-03-29 22:30:19 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-ca586dec-eb14-4322-9804-f46c1b4d7128)</node-pattern></data>

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

subscribeNodes 1.112s
2023-03-29 22:30:18 |

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

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

2023-03-29 22:30:18 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-ca586dec-eb14-4322-9804-f46c1b4d7128</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.239s
2023-03-29 22:30:20 |

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

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

2023-03-29 22:30:20 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-ca586dec-eb14-4322-9804-f46c1b4d7128</node><jids><value>admin@test-domain.com</value></jids></data>

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