Generated by TestNG with ReportNG at 09:55 PST on Friday 30 December 2022
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.412s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.085s
2022-12-30 10:10:22 |

2022-12-30 10:10:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-30 10:10:22 | ------------------------------------

2022-12-30 10:10:22 | [Mutex] waiting for: [configured:node:node-aabd41dc-8553-476d-886e-577a442d11a9:node-59df3b78-1342-4b54-801c-a62fec0837ef]

2022-12-30 10:10:22 | [Mutex] received everything.

2022-12-30 10:10:22 | [Mutex] isItemNotified: configured:node:node-aabd41dc-8553-476d-886e-577a442d11a9:node-59df3b78-1342-4b54-801c-a62fec0837ef :: true

2022-12-30 10:10:23 | [Mutex] waiting for: [received:nodes:6032c63e-63ed-4dd6-8c3f-caeab9020087:localhost]

2022-12-30 10:10:23 | [Mutex] received everything.

2022-12-30 10:10:23 | [Mutex] isItemNotified: received:node:6032c63e-63ed-4dd6-8c3f-caeab9020087:localhost:node-aabd41dc-8553-476d-886e-577a442d11a9:Node aabd41dc-8553-476d-886e-577a442d11a9 :: true

2022-12-30 10:10:23 | [Mutex] waiting for: [received:nodes:ef9118ec-c4fa-49a3-ad13-c295ccd14727:localhost]

2022-12-30 10:10:23 | [Mutex] waiting for: [received:nodes:ef9118ec-c4fa-49a3-ad13-c295ccd14727:localhost]

2022-12-30 10:10:23 | [Mutex] waiting for: [received:nodes:ef9118ec-c4fa-49a3-ad13-c295ccd14727:localhost]

2022-12-30 10:10:23 | [Mutex] waiting for: [received:nodes:ef9118ec-c4fa-49a3-ad13-c295ccd14727:localhost]

2022-12-30 10:10:23 | [Mutex] received everything.

2022-12-30 10:10:23 | [Mutex] isItemNotified: received:node:ef9118ec-c4fa-49a3-ad13-c295ccd14727:localhost:node-aabd41dc-8553-476d-886e-577a442d11a9:Node aabd41dc-8553-476d-886e-577a442d11a9 :: false

createNodes 1.449s
2022-12-30 10:10:20 |

2022-12-30 10:10:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-30 10:10:20 | ------------------------------------

2022-12-30 10:10:20 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-aabd41dc-8553-476d-886e-577a442d11a9</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node aabd41dc-8553-476d-886e-577a442d11a9</title></pubsub></data>

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

2022-12-30 10:10:21 | [Mutex] waiting for: [received:nodes:4a661a90-b5fe-4239-ae1b-7f3890c54a98:localhost]

2022-12-30 10:10:21 | [Mutex] waiting for: [received:nodes:4a661a90-b5fe-4239-ae1b-7f3890c54a98:localhost]

2022-12-30 10:10:21 | [Mutex] waiting for: [received:nodes:4a661a90-b5fe-4239-ae1b-7f3890c54a98:localhost]

2022-12-30 10:10:21 | [Mutex] waiting for: [received:nodes:4a661a90-b5fe-4239-ae1b-7f3890c54a98:localhost]

2022-12-30 10:10:21 | [Mutex] received everything.

2022-12-30 10:10:21 | [Mutex] isItemNotified: received:node:4a661a90-b5fe-4239-ae1b-7f3890c54a98:localhost:node-aabd41dc-8553-476d-886e-577a442d11a9:Node aabd41dc-8553-476d-886e-577a442d11a9 :: true

createSubnodes 1.028s
2022-12-30 10:10:21 |

2022-12-30 10:10:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-30 10:10:21 | ------------------------------------

2022-12-30 10:10:21 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-59df3b78-1342-4b54-801c-a62fec0837ef</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 59df3b78-1342-4b54-801c-a62fec0837ef</title></pubsub></data>

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

2022-12-30 10:10:22 | [Mutex] waiting for: [received:nodes:60bdbf2e-9d81-45d0-bbbf-9b59b7482861:localhost]

2022-12-30 10:10:22 | [Mutex] waiting for: [received:nodes:60bdbf2e-9d81-45d0-bbbf-9b59b7482861:localhost]

2022-12-30 10:10:22 | [Mutex] waiting for: [received:nodes:60bdbf2e-9d81-45d0-bbbf-9b59b7482861:localhost]

2022-12-30 10:10:22 | [Mutex] waiting for: [received:nodes:60bdbf2e-9d81-45d0-bbbf-9b59b7482861:localhost]

2022-12-30 10:10:22 | [Mutex] waiting for: [received:nodes:60bdbf2e-9d81-45d0-bbbf-9b59b7482861:localhost]

2022-12-30 10:10:22 | [Mutex] received everything.

2022-12-30 10:10:22 | [Mutex] isItemNotified: received:node:60bdbf2e-9d81-45d0-bbbf-9b59b7482861:localhost:node-59df3b78-1342-4b54-801c-a62fec0837ef:Node 59df3b78-1342-4b54-801c-a62fec0837ef :: true

deleteNodes 1.016s
2022-12-30 10:10:28 |

2022-12-30 10:10:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-30 10:10:28 | ------------------------------------

2022-12-30 10:10:28 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-59df3b78-1342-4b54-801c-a62fec0837ef</node></data>

2022-12-30 10:10:28 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-12-30 10:10:29 | [Mutex] waiting for: [received:nodes:6f54f7a3-6a7f-4ae6-84ec-5fc6fdbb126c:localhost]

2022-12-30 10:10:29 | [Mutex] waiting for: [received:nodes:6f54f7a3-6a7f-4ae6-84ec-5fc6fdbb126c:localhost]

2022-12-30 10:10:29 | [Mutex] waiting for: [received:nodes:6f54f7a3-6a7f-4ae6-84ec-5fc6fdbb126c:localhost]

2022-12-30 10:10:29 | [Mutex] received everything.

2022-12-30 10:10:29 | [Mutex] isItemNotified: received:node:6f54f7a3-6a7f-4ae6-84ec-5fc6fdbb126c:localhost:node-59df3b78-1342-4b54-801c-a62fec0837ef:Node 59df3b78-1342-4b54-801c-a62fec0837ef :: false

deleteSubnodes 1.113s
2022-12-30 10:10:26 |

2022-12-30 10:10:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-30 10:10:26 | ------------------------------------

2022-12-30 10:10:26 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-aabd41dc-8553-476d-886e-577a442d11a9</node></data>

2022-12-30 10:10:27 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-12-30 10:10:28 | [Mutex] waiting for: [received:nodes:2d9d7ae0-3c14-4857-b9d6-75029aa57f8c:localhost]

2022-12-30 10:10:28 | [Mutex] waiting for: [received:nodes:2d9d7ae0-3c14-4857-b9d6-75029aa57f8c:localhost]

2022-12-30 10:10:28 | [Mutex] waiting for: [received:nodes:2d9d7ae0-3c14-4857-b9d6-75029aa57f8c:localhost]

2022-12-30 10:10:28 | [Mutex] waiting for: [received:nodes:2d9d7ae0-3c14-4857-b9d6-75029aa57f8c:localhost]

2022-12-30 10:10:28 | [Mutex] received everything.

2022-12-30 10:10:28 | [Mutex] isItemNotified: received:node:2d9d7ae0-3c14-4857-b9d6-75029aa57f8c:localhost:node-aabd41dc-8553-476d-886e-577a442d11a9:Node aabd41dc-8553-476d-886e-577a442d11a9 :: false

2022-12-30 10:10:28 | [Mutex] waiting for: [received:nodes:44d19c47-8709-44b4-943e-8ff2065ebbd9:localhost]

2022-12-30 10:10:28 | [Mutex] received everything.

2022-12-30 10:10:28 | [Mutex] isItemNotified: received:node:44d19c47-8709-44b4-943e-8ff2065ebbd9:localhost:node-aabd41dc-8553-476d-886e-577a442d11a9:Node aabd41dc-8553-476d-886e-577a442d11a9 :: false

publishItemsToNodes 0.188s
2022-12-30 10:10:24 |

2022-12-30 10:10:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-30 10:10:24 | ------------------------------------

2022-12-30 10:10:24 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-aabd41dc-8553-476d-886e-577a442d11a9</node><item-id>item-1e787d3c-8889-44ff-96fc-3b7387a26926</item-id><entry><test>item-1e787d3c-8889-44ff-96fc-3b7387a26926</test></entry></data>

2022-12-30 10:10:25 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-1e787d3c-8889-44ff-96fc-3b7387a26926</value></item-id></result>

2022-12-30 10:10:25 | [Mutex] received everything.

2022-12-30 10:10:25 | [Mutex] isItemNotified: published:item:notifieditem-1e787d3c-8889-44ff-96fc-3b7387a26926:admin@test-domain.com :: true

retractItemsFromNodes 0.287s
2022-12-30 10:10:25 |

2022-12-30 10:10:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-30 10:10:25 | ------------------------------------

2022-12-30 10:10:25 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-aabd41dc-8553-476d-886e-577a442d11a9</node><item-id>item-1e787d3c-8889-44ff-96fc-3b7387a26926</item-id></data>

2022-12-30 10:10:25 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-1e787d3c-8889-44ff-96fc-3b7387a26926</value></item-id></result>

2022-12-30 10:10:25 | [Mutex] received everything.

2022-12-30 10:10:25 | [Mutex] isItemNotified: retracted:item:notifieditem-1e787d3c-8889-44ff-96fc-3b7387a26926:admin@test-domain.com :: true

retrieveItemsFromNodes 0.245s
2022-12-30 10:10:25 |

2022-12-30 10:10:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-30 10:10:25 | ------------------------------------

2022-12-30 10:10:25 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-aabd41dc-8553-476d-886e-577a442d11a9</node><item-id>item-1e787d3c-8889-44ff-96fc-3b7387a26926</item-id></data>

2022-12-30 10:10:25 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node label="Node" type="text-single"><value>node-aabd41dc-8553-476d-886e-577a442d11a9</value></node><item-id label="Item ID" type="text-single"><value>item-1e787d3c-8889-44ff-96fc-3b7387a26926</value></item-id><item label="Item" type="text-multi"><value><item id="item-1e787d3c-8889-44ff-96fc-3b7387a26926"><test>item-1e787d3c-8889-44ff-96fc-3b7387a26926</test></item></value></item></result>

2022-12-30 10:10:25 | [Mutex] notify: [retrieved:item:item-1e787d3c-8889-44ff-96fc-3b7387a26926:payload-matches:true:localhost]

2022-12-30 10:10:25 | [Mutex] received everything.

2022-12-30 10:10:25 | [Mutex] isItemNotified: retrieved:item:item-1e787d3c-8889-44ff-96fc-3b7387a26926:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-12-30 10:10:25 |

2022-12-30 10:10:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-30 10:10:25 | ------------------------------------

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

2022-12-30 10:10:25 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-aabd41dc-8553-476d-886e-577a442d11a9</value><value>test</value><value>node-59df3b78-1342-4b54-801c-a62fec0837ef</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.052s
2022-12-30 10:10:25 |

2022-12-30 10:10:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-30 10:10:25 | ------------------------------------

2022-12-30 10:10:25 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-aabd41dc-8553-476d-886e-577a442d11a9)</node-pattern></data>

2022-12-30 10:10:25 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.126s
2022-12-30 10:10:23 |

2022-12-30 10:10:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-30 10:10:23 | ------------------------------------

2022-12-30 10:10:23 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-aabd41dc-8553-476d-886e-577a442d11a9</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.187s
2022-12-30 10:10:25 |

2022-12-30 10:10:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-30 10:10:25 | ------------------------------------

2022-12-30 10:10:25 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-aabd41dc-8553-476d-886e-577a442d11a9</node><jids><value>admin@test-domain.com</value></jids></data>

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