Generated by TestNG with ReportNG at 23:01 PDT on Monday 09 May 2022
root@61c39d2ed70d / Java 17.0.2 (Private Build) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Node and item manipulation using REST API - XML - #4229, #4728

Suites · Log Output

Test duration : 9.602s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.085s
2022-05-09 23:15:03 |

2022-05-09 23:15:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-09 23:15:03 | ------------------------------------

2022-05-09 23:15:03 | [Mutex] waiting for: [configured:node:node-ac78effe-ef9f-4236-870d-8a6d383a32a7:node-27300b63-30e0-4947-852e-cc4df44db553]

2022-05-09 23:15:03 | [Mutex] received everything.

2022-05-09 23:15:03 | [Mutex] isItemNotified: configured:node:node-ac78effe-ef9f-4236-870d-8a6d383a32a7:node-27300b63-30e0-4947-852e-cc4df44db553 :: true

2022-05-09 23:15:04 | [Mutex] waiting for: [received:nodes:ffa93539-d360-4f73-bff4-e9bbb44de7cd:localhost]

2022-05-09 23:15:04 | [Mutex] received everything.

2022-05-09 23:15:04 | [Mutex] isItemNotified: received:node:ffa93539-d360-4f73-bff4-e9bbb44de7cd:localhost:node-ac78effe-ef9f-4236-870d-8a6d383a32a7:Node ac78effe-ef9f-4236-870d-8a6d383a32a7 :: true

2022-05-09 23:15:04 | [Mutex] waiting for: [received:nodes:29d07c04-911b-473f-a919-ee9f18f4b7ce:localhost]

2022-05-09 23:15:04 | [Mutex] received everything.

2022-05-09 23:15:04 | [Mutex] isItemNotified: received:node:29d07c04-911b-473f-a919-ee9f18f4b7ce:localhost:node-ac78effe-ef9f-4236-870d-8a6d383a32a7:Node ac78effe-ef9f-4236-870d-8a6d383a32a7 :: false

createNodes 1.407s
2022-05-09 23:15:00 |

2022-05-09 23:15:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-09 23:15:00 | ------------------------------------

2022-05-09 23:15:00 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-ac78effe-ef9f-4236-870d-8a6d383a32a7</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node ac78effe-ef9f-4236-870d-8a6d383a32a7</title></pubsub></data>

2022-05-09 23:15:01 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-05-09 23:15:02 | [Mutex] waiting for: [received:nodes:6c880ac0-9de1-4b8d-92b5-5ab37866832b:localhost]

2022-05-09 23:15:02 | [Mutex] received everything.

2022-05-09 23:15:02 | [Mutex] isItemNotified: received:node:6c880ac0-9de1-4b8d-92b5-5ab37866832b:localhost:node-ac78effe-ef9f-4236-870d-8a6d383a32a7:Node ac78effe-ef9f-4236-870d-8a6d383a32a7 :: true

createSubnodes 1.027s
2022-05-09 23:15:02 |

2022-05-09 23:15:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-09 23:15:02 | ------------------------------------

2022-05-09 23:15:02 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-27300b63-30e0-4947-852e-cc4df44db553</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 27300b63-30e0-4947-852e-cc4df44db553</title></pubsub></data>

2022-05-09 23:15:02 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-05-09 23:15:03 | [Mutex] waiting for: [received:nodes:a6d526d0-807f-4ff5-b3ab-92fe268abd6c:localhost]

2022-05-09 23:15:03 | [Mutex] received everything.

2022-05-09 23:15:03 | [Mutex] isItemNotified: received:node:a6d526d0-807f-4ff5-b3ab-92fe268abd6c:localhost:node-27300b63-30e0-4947-852e-cc4df44db553:Node 27300b63-30e0-4947-852e-cc4df44db553 :: true

deleteNodes 1.017s
2022-05-09 23:15:08 |

2022-05-09 23:15:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-09 23:15:08 | ------------------------------------

2022-05-09 23:15:08 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-27300b63-30e0-4947-852e-cc4df44db553</node></data>

2022-05-09 23:15:08 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-05-09 23:15:09 | [Mutex] waiting for: [received:nodes:a77ce1c8-0a6f-4d0f-bcfd-9367df753229:localhost]

2022-05-09 23:15:09 | [Mutex] received everything.

2022-05-09 23:15:09 | [Mutex] isItemNotified: received:node:a77ce1c8-0a6f-4d0f-bcfd-9367df753229:localhost:node-27300b63-30e0-4947-852e-cc4df44db553:Node 27300b63-30e0-4947-852e-cc4df44db553 :: false

deleteSubnodes 1.123s
2022-05-09 23:15:07 |

2022-05-09 23:15:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-09 23:15:07 | ------------------------------------

2022-05-09 23:15:07 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-ac78effe-ef9f-4236-870d-8a6d383a32a7</node></data>

2022-05-09 23:15:07 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-05-09 23:15:08 | [Mutex] waiting for: [received:nodes:3901699a-ff6e-4de5-9f00-58f84b2e92ed:localhost]

2022-05-09 23:15:08 | [Mutex] received everything.

2022-05-09 23:15:08 | [Mutex] isItemNotified: received:node:3901699a-ff6e-4de5-9f00-58f84b2e92ed:localhost:node-ac78effe-ef9f-4236-870d-8a6d383a32a7:Node ac78effe-ef9f-4236-870d-8a6d383a32a7 :: false

2022-05-09 23:15:08 | [Mutex] waiting for: [received:nodes:a28a8a39-af08-4661-b5e4-79b61861877a:localhost]

2022-05-09 23:15:08 | [Mutex] received everything.

2022-05-09 23:15:08 | [Mutex] isItemNotified: received:node:a28a8a39-af08-4661-b5e4-79b61861877a:localhost:node-ac78effe-ef9f-4236-870d-8a6d383a32a7:Node ac78effe-ef9f-4236-870d-8a6d383a32a7 :: false

publishItemsToNodes 0.183s
2022-05-09 23:15:05 |

2022-05-09 23:15:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-09 23:15:05 | ------------------------------------

2022-05-09 23:15:05 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-ac78effe-ef9f-4236-870d-8a6d383a32a7</node><item-id>item-ee7457d7-a1f9-4294-9b24-938a4d2670b5</item-id><entry><test>item-ee7457d7-a1f9-4294-9b24-938a4d2670b5</test></entry></data>

2022-05-09 23:15:05 | 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-ee7457d7-a1f9-4294-9b24-938a4d2670b5</value></item-id></result>

2022-05-09 23:15:05 | [Mutex] received everything.

2022-05-09 23:15:05 | [Mutex] isItemNotified: published:item:notifieditem-ee7457d7-a1f9-4294-9b24-938a4d2670b5:admin@test-domain.com :: true

retractItemsFromNodes 0.271s
2022-05-09 23:15:06 |

2022-05-09 23:15:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-09 23:15:06 | ------------------------------------

2022-05-09 23:15:06 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-ac78effe-ef9f-4236-870d-8a6d383a32a7</node><item-id>item-ee7457d7-a1f9-4294-9b24-938a4d2670b5</item-id></data>

2022-05-09 23:15:06 | 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-ee7457d7-a1f9-4294-9b24-938a4d2670b5</value></item-id></result>

2022-05-09 23:15:06 | [Mutex] received everything.

2022-05-09 23:15:06 | [Mutex] isItemNotified: retracted:item:notifieditem-ee7457d7-a1f9-4294-9b24-938a4d2670b5:admin@test-domain.com :: true

retrieveItemsFromNodes 0.224s
2022-05-09 23:15:05 |

2022-05-09 23:15:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-09 23:15:05 | ------------------------------------

2022-05-09 23:15:05 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-ac78effe-ef9f-4236-870d-8a6d383a32a7</node><item-id>item-ee7457d7-a1f9-4294-9b24-938a4d2670b5</item-id></data>

2022-05-09 23:15:06 | 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-ac78effe-ef9f-4236-870d-8a6d383a32a7</value></node><item-id type="text-single" label="Item ID"><value>item-ee7457d7-a1f9-4294-9b24-938a4d2670b5</value></item-id><item type="text-multi" label="Item"><value><item id="item-ee7457d7-a1f9-4294-9b24-938a4d2670b5"><test>item-ee7457d7-a1f9-4294-9b24-938a4d2670b5</test></item></value></item></result>

2022-05-09 23:15:06 | [Mutex] notify: [retrieved:item:item-ee7457d7-a1f9-4294-9b24-938a4d2670b5:payload-matches:true:localhost]

2022-05-09 23:15:06 | [Mutex] received everything.

2022-05-09 23:15:06 | [Mutex] isItemNotified: retrieved:item:item-ee7457d7-a1f9-4294-9b24-938a4d2670b5:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-05-09 23:15:06 |

2022-05-09 23:15:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-09 23:15:06 | ------------------------------------

2022-05-09 23:15:06 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-05-09 23:15:06 | 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-ac78effe-ef9f-4236-870d-8a6d383a32a7</value><value>node-27300b63-30e0-4947-852e-cc4df44db553</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.053s
2022-05-09 23:15:06 |

2022-05-09 23:15:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-09 23:15:06 | ------------------------------------

2022-05-09 23:15:06 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-ac78effe-ef9f-4236-870d-8a6d383a32a7)</node-pattern></data>

2022-05-09 23:15:06 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.182s
2022-05-09 23:15:04 |

2022-05-09 23:15:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-09 23:15:04 | ------------------------------------

2022-05-09 23:15:04 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-ac78effe-ef9f-4236-870d-8a6d383a32a7</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.207s
2022-05-09 23:15:06 |

2022-05-09 23:15:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-09 23:15:06 | ------------------------------------

2022-05-09 23:15:06 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-ac78effe-ef9f-4236-870d-8a6d383a32a7</node><jids><value>admin@test-domain.com</value></jids></data>

2022-05-09 23:15:06 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>