Generated by TestNG with ReportNG at 22:45 PDT on Saturday 25 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.651s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.097s
2023-03-25 23:00:06 |

2023-03-25 23:00:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-25 23:00:06 | ------------------------------------

2023-03-25 23:00:06 | [Mutex] waiting for: [configured:node:node-e0173e78-7a41-48a6-b0b3-861ccf434bfb:node-d401deb6-ca1c-462e-891d-e1d6b103180a]

2023-03-25 23:00:06 | [Mutex] received everything.

2023-03-25 23:00:06 | [Mutex] isItemNotified: configured:node:node-e0173e78-7a41-48a6-b0b3-861ccf434bfb:node-d401deb6-ca1c-462e-891d-e1d6b103180a :: true

2023-03-25 23:00:07 | [Mutex] waiting for: [received:nodes:f2a57e63-a510-4251-8712-e73c3f9326e2:localhost]

2023-03-25 23:00:07 | [Mutex] received everything.

2023-03-25 23:00:07 | [Mutex] isItemNotified: received:node:f2a57e63-a510-4251-8712-e73c3f9326e2:localhost:node-e0173e78-7a41-48a6-b0b3-861ccf434bfb:Node e0173e78-7a41-48a6-b0b3-861ccf434bfb :: true

2023-03-25 23:00:07 | [Mutex] waiting for: [received:nodes:f69ac7d6-859d-4dea-9c65-841a319be3c3:localhost]

2023-03-25 23:00:07 | [Mutex] waiting for: [received:nodes:f69ac7d6-859d-4dea-9c65-841a319be3c3:localhost]

2023-03-25 23:00:07 | [Mutex] waiting for: [received:nodes:f69ac7d6-859d-4dea-9c65-841a319be3c3:localhost]

2023-03-25 23:00:07 | [Mutex] waiting for: [received:nodes:f69ac7d6-859d-4dea-9c65-841a319be3c3:localhost]

2023-03-25 23:00:07 | [Mutex] received everything.

2023-03-25 23:00:07 | [Mutex] isItemNotified: received:node:f69ac7d6-859d-4dea-9c65-841a319be3c3:localhost:node-e0173e78-7a41-48a6-b0b3-861ccf434bfb:Node e0173e78-7a41-48a6-b0b3-861ccf434bfb :: false

createNodes 1.446s
2023-03-25 23:00:04 |

2023-03-25 23:00:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-25 23:00:04 | ------------------------------------

2023-03-25 23:00:04 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-e0173e78-7a41-48a6-b0b3-861ccf434bfb</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node e0173e78-7a41-48a6-b0b3-861ccf434bfb</title></pubsub></data>

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

2023-03-25 23:00:05 | [Mutex] waiting for: [received:nodes:aaf71d53-14ad-4529-8bc5-0b47698b3cf2:localhost]

2023-03-25 23:00:05 | [Mutex] waiting for: [received:nodes:aaf71d53-14ad-4529-8bc5-0b47698b3cf2:localhost]

2023-03-25 23:00:05 | [Mutex] waiting for: [received:nodes:aaf71d53-14ad-4529-8bc5-0b47698b3cf2:localhost]

2023-03-25 23:00:05 | [Mutex] received everything.

2023-03-25 23:00:05 | [Mutex] isItemNotified: received:node:aaf71d53-14ad-4529-8bc5-0b47698b3cf2:localhost:node-e0173e78-7a41-48a6-b0b3-861ccf434bfb:Node e0173e78-7a41-48a6-b0b3-861ccf434bfb :: true

createSubnodes 1.028s
2023-03-25 23:00:05 |

2023-03-25 23:00:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-25 23:00:05 | ------------------------------------

2023-03-25 23:00:05 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d401deb6-ca1c-462e-891d-e1d6b103180a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node d401deb6-ca1c-462e-891d-e1d6b103180a</title></pubsub></data>

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

2023-03-25 23:00:06 | [Mutex] waiting for: [received:nodes:df7ccea3-f8b8-479a-98cc-085d4c6f48c0:localhost]

2023-03-25 23:00:06 | [Mutex] received everything.

2023-03-25 23:00:06 | [Mutex] isItemNotified: received:node:df7ccea3-f8b8-479a-98cc-085d4c6f48c0:localhost:node-d401deb6-ca1c-462e-891d-e1d6b103180a:Node d401deb6-ca1c-462e-891d-e1d6b103180a :: true

deleteNodes 1.020s
2023-03-25 23:00:12 |

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

2023-03-25 23:00:12 | ------------------------------------

2023-03-25 23:00:12 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d401deb6-ca1c-462e-891d-e1d6b103180a</node></data>

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

2023-03-25 23:00:13 | [Mutex] waiting for: [received:nodes:df08542a-8896-435a-9e1d-0bdcb22595d2:localhost]

2023-03-25 23:00:13 | [Mutex] waiting for: [received:nodes:df08542a-8896-435a-9e1d-0bdcb22595d2:localhost]

2023-03-25 23:00:13 | [Mutex] waiting for: [received:nodes:df08542a-8896-435a-9e1d-0bdcb22595d2:localhost]

2023-03-25 23:00:13 | [Mutex] received everything.

2023-03-25 23:00:13 | [Mutex] isItemNotified: received:node:df08542a-8896-435a-9e1d-0bdcb22595d2:localhost:node-d401deb6-ca1c-462e-891d-e1d6b103180a:Node d401deb6-ca1c-462e-891d-e1d6b103180a :: false

deleteSubnodes 1.154s
2023-03-25 23:00:11 |

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

2023-03-25 23:00:11 | ------------------------------------

2023-03-25 23:00:11 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-e0173e78-7a41-48a6-b0b3-861ccf434bfb</node></data>

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

2023-03-25 23:00:12 | [Mutex] waiting for: [received:nodes:b1465887-8310-49ba-961b-b60c29c72a99:localhost]

2023-03-25 23:00:12 | [Mutex] waiting for: [received:nodes:b1465887-8310-49ba-961b-b60c29c72a99:localhost]

2023-03-25 23:00:12 | [Mutex] waiting for: [received:nodes:b1465887-8310-49ba-961b-b60c29c72a99:localhost]

2023-03-25 23:00:12 | [Mutex] waiting for: [received:nodes:b1465887-8310-49ba-961b-b60c29c72a99:localhost]

2023-03-25 23:00:12 | [Mutex] received everything.

2023-03-25 23:00:12 | [Mutex] isItemNotified: received:node:b1465887-8310-49ba-961b-b60c29c72a99:localhost:node-e0173e78-7a41-48a6-b0b3-861ccf434bfb:Node e0173e78-7a41-48a6-b0b3-861ccf434bfb :: false

2023-03-25 23:00:12 | [Mutex] waiting for: [received:nodes:ec5dc5bc-c31b-4d7c-b058-348dbc9d4862:localhost]

2023-03-25 23:00:12 | [Mutex] received everything.

2023-03-25 23:00:12 | [Mutex] isItemNotified: received:node:ec5dc5bc-c31b-4d7c-b058-348dbc9d4862:localhost:node-e0173e78-7a41-48a6-b0b3-861ccf434bfb:Node e0173e78-7a41-48a6-b0b3-861ccf434bfb :: false

publishItemsToNodes 0.223s
2023-03-25 23:00:09 |

2023-03-25 23:00:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-25 23:00:09 | ------------------------------------

2023-03-25 23:00:09 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-e0173e78-7a41-48a6-b0b3-861ccf434bfb</node><item-id>item-89cd424e-c697-47e1-b959-7d6072165c5b</item-id><entry><test>item-89cd424e-c697-47e1-b959-7d6072165c5b</test></entry></data>

2023-03-25 23:00:09 | 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-89cd424e-c697-47e1-b959-7d6072165c5b</value></item-id></result>

2023-03-25 23:00:09 | [Mutex] waiting for: [published:item:notifieditem-89cd424e-c697-47e1-b959-7d6072165c5b:admin@test-domain.com]

2023-03-25 23:00:09 | [Mutex] received everything.

2023-03-25 23:00:09 | [Mutex] isItemNotified: published:item:notifieditem-89cd424e-c697-47e1-b959-7d6072165c5b:admin@test-domain.com :: true

retractItemsFromNodes 0.375s
2023-03-25 23:00:09 |

2023-03-25 23:00:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-25 23:00:09 | ------------------------------------

2023-03-25 23:00:09 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-e0173e78-7a41-48a6-b0b3-861ccf434bfb</node><item-id>item-89cd424e-c697-47e1-b959-7d6072165c5b</item-id></data>

2023-03-25 23:00:09 | 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-89cd424e-c697-47e1-b959-7d6072165c5b</value></item-id></result>

2023-03-25 23:00:09 | [Mutex] received everything.

2023-03-25 23:00:09 | [Mutex] isItemNotified: retracted:item:notifieditem-89cd424e-c697-47e1-b959-7d6072165c5b:admin@test-domain.com :: true

retrieveItemsFromNodes 0.168s
2023-03-25 23:00:09 |

2023-03-25 23:00:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-25 23:00:09 | ------------------------------------

2023-03-25 23:00:09 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-e0173e78-7a41-48a6-b0b3-861ccf434bfb</node><item-id>item-89cd424e-c697-47e1-b959-7d6072165c5b</item-id></data>

2023-03-25 23:00:09 | 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-e0173e78-7a41-48a6-b0b3-861ccf434bfb</value></node><item-id type="text-single" label="Item ID"><value>item-89cd424e-c697-47e1-b959-7d6072165c5b</value></item-id><item type="text-multi" label="Item"><value><item id="item-89cd424e-c697-47e1-b959-7d6072165c5b"><test>item-89cd424e-c697-47e1-b959-7d6072165c5b</test></item></value></item></result>

2023-03-25 23:00:09 | [Mutex] notify: [retrieved:item:item-89cd424e-c697-47e1-b959-7d6072165c5b:payload-matches:true:localhost]

2023-03-25 23:00:09 | [Mutex] received everything.

2023-03-25 23:00:09 | [Mutex] isItemNotified: retrieved:item:item-89cd424e-c697-47e1-b959-7d6072165c5b:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-03-25 23:00:09 |

2023-03-25 23:00:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-25 23:00:09 | ------------------------------------

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

2023-03-25 23:00:09 | 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-e0173e78-7a41-48a6-b0b3-861ccf434bfb</value><value>node-d401deb6-ca1c-462e-891d-e1d6b103180a</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2023-03-25 23:00:09 |

2023-03-25 23:00:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-25 23:00:09 | ------------------------------------

2023-03-25 23:00:09 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-e0173e78-7a41-48a6-b0b3-861ccf434bfb)</node-pattern></data>

2023-03-25 23:00:09 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.109s
2023-03-25 23:00:07 |

2023-03-25 23:00:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-25 23:00:07 | ------------------------------------

2023-03-25 23:00:07 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-e0173e78-7a41-48a6-b0b3-861ccf434bfb</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.223s
2023-03-25 23:00:09 |

2023-03-25 23:00:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-25 23:00:09 | ------------------------------------

2023-03-25 23:00:09 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-e0173e78-7a41-48a6-b0b3-861ccf434bfb</node><jids><value>admin@test-domain.com</value></jids></data>

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