Generated by TestNG with ReportNG at 22:46 PDT on Monday 29 August 2022
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.612s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.082s
2022-08-29 23:00:36 |

2022-08-29 23:00:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-29 23:00:36 | ------------------------------------

2022-08-29 23:00:36 | [Mutex] waiting for: [configured:node:node-56641b93-27e4-43c6-bb06-30b0291d1cf9:node-8a7e6045-d8d2-4e09-81e9-79c8501ecd5f]

2022-08-29 23:00:36 | [Mutex] received everything.

2022-08-29 23:00:36 | [Mutex] isItemNotified: configured:node:node-56641b93-27e4-43c6-bb06-30b0291d1cf9:node-8a7e6045-d8d2-4e09-81e9-79c8501ecd5f :: true

2022-08-29 23:00:37 | [Mutex] waiting for: [received:nodes:24f81177-a6c0-458b-a45b-36d24b208a79:localhost]

2022-08-29 23:00:37 | [Mutex] received everything.

2022-08-29 23:00:37 | [Mutex] isItemNotified: received:node:24f81177-a6c0-458b-a45b-36d24b208a79:localhost:node-56641b93-27e4-43c6-bb06-30b0291d1cf9:Node 56641b93-27e4-43c6-bb06-30b0291d1cf9 :: true

2022-08-29 23:00:37 | [Mutex] waiting for: [received:nodes:4301d3da-98aa-41b5-a3a2-cc395befe5cc:localhost]

2022-08-29 23:00:37 | [Mutex] waiting for: [received:nodes:4301d3da-98aa-41b5-a3a2-cc395befe5cc:localhost]

2022-08-29 23:00:37 | [Mutex] received everything.

2022-08-29 23:00:37 | [Mutex] isItemNotified: received:node:4301d3da-98aa-41b5-a3a2-cc395befe5cc:localhost:node-56641b93-27e4-43c6-bb06-30b0291d1cf9:Node 56641b93-27e4-43c6-bb06-30b0291d1cf9 :: false

createNodes 1.527s
2022-08-29 23:00:33 |

2022-08-29 23:00:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-29 23:00:33 | ------------------------------------

2022-08-29 23:00:33 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-56641b93-27e4-43c6-bb06-30b0291d1cf9</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 56641b93-27e4-43c6-bb06-30b0291d1cf9</title></pubsub></data>

2022-08-29 23:00:33 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-29 23:00:34 | [Mutex] waiting for: [received:nodes:71c1b5a2-a82a-47d0-b362-2869fc8a33d4:localhost]

2022-08-29 23:00:34 | [Mutex] received everything.

2022-08-29 23:00:34 | [Mutex] isItemNotified: received:node:71c1b5a2-a82a-47d0-b362-2869fc8a33d4:localhost:node-56641b93-27e4-43c6-bb06-30b0291d1cf9:Node 56641b93-27e4-43c6-bb06-30b0291d1cf9 :: true

createSubnodes 1.023s
2022-08-29 23:00:34 |

2022-08-29 23:00:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-29 23:00:34 | ------------------------------------

2022-08-29 23:00:34 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-8a7e6045-d8d2-4e09-81e9-79c8501ecd5f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 8a7e6045-d8d2-4e09-81e9-79c8501ecd5f</title></pubsub></data>

2022-08-29 23:00:35 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-29 23:00:36 | [Mutex] waiting for: [received:nodes:9bb8fe28-1e16-4311-a4f4-ebb58c13d6b5:localhost]

2022-08-29 23:00:36 | [Mutex] received everything.

2022-08-29 23:00:36 | [Mutex] isItemNotified: received:node:9bb8fe28-1e16-4311-a4f4-ebb58c13d6b5:localhost:node-8a7e6045-d8d2-4e09-81e9-79c8501ecd5f:Node 8a7e6045-d8d2-4e09-81e9-79c8501ecd5f :: true

deleteNodes 1.019s
2022-08-29 23:00:41 |

2022-08-29 23:00:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-29 23:00:41 | ------------------------------------

2022-08-29 23:00:41 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-8a7e6045-d8d2-4e09-81e9-79c8501ecd5f</node></data>

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

2022-08-29 23:00:42 | [Mutex] waiting for: [received:nodes:4b97647e-670c-4b4e-86c7-318ef9d9d914:localhost]

2022-08-29 23:00:42 | [Mutex] received everything.

2022-08-29 23:00:42 | [Mutex] isItemNotified: received:node:4b97647e-670c-4b4e-86c7-318ef9d9d914:localhost:node-8a7e6045-d8d2-4e09-81e9-79c8501ecd5f:Node 8a7e6045-d8d2-4e09-81e9-79c8501ecd5f :: false

deleteSubnodes 1.206s
2022-08-29 23:00:40 |

2022-08-29 23:00:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-29 23:00:40 | ------------------------------------

2022-08-29 23:00:40 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-56641b93-27e4-43c6-bb06-30b0291d1cf9</node></data>

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

2022-08-29 23:00:41 | [Mutex] waiting for: [received:nodes:a012d6dd-65c7-49f6-8d3e-a92201696c0e:localhost]

2022-08-29 23:00:41 | [Mutex] waiting for: [received:nodes:a012d6dd-65c7-49f6-8d3e-a92201696c0e:localhost]

2022-08-29 23:00:41 | [Mutex] waiting for: [received:nodes:a012d6dd-65c7-49f6-8d3e-a92201696c0e:localhost]

2022-08-29 23:00:41 | [Mutex] received everything.

2022-08-29 23:00:41 | [Mutex] isItemNotified: received:node:a012d6dd-65c7-49f6-8d3e-a92201696c0e:localhost:node-56641b93-27e4-43c6-bb06-30b0291d1cf9:Node 56641b93-27e4-43c6-bb06-30b0291d1cf9 :: false

2022-08-29 23:00:41 | [Mutex] waiting for: [received:nodes:4f655529-cd25-4873-af4a-29021185f6fd:localhost]

2022-08-29 23:00:41 | [Mutex] received everything.

2022-08-29 23:00:41 | [Mutex] isItemNotified: received:node:4f655529-cd25-4873-af4a-29021185f6fd:localhost:node-56641b93-27e4-43c6-bb06-30b0291d1cf9:Node 56641b93-27e4-43c6-bb06-30b0291d1cf9 :: false

publishItemsToNodes 0.230s
2022-08-29 23:00:38 |

2022-08-29 23:00:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-29 23:00:38 | ------------------------------------

2022-08-29 23:00:38 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-56641b93-27e4-43c6-bb06-30b0291d1cf9</node><item-id>item-4694ca77-b980-4019-a7db-e358c26dda49</item-id><entry><test>item-4694ca77-b980-4019-a7db-e358c26dda49</test></entry></data>

2022-08-29 23:00:38 | 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-4694ca77-b980-4019-a7db-e358c26dda49</value></item-id></result>

2022-08-29 23:00:38 | [Mutex] waiting for: [published:item:notifieditem-4694ca77-b980-4019-a7db-e358c26dda49:admin@test-domain.com]

2022-08-29 23:00:38 | [Mutex] received everything.

2022-08-29 23:00:38 | [Mutex] isItemNotified: published:item:notifieditem-4694ca77-b980-4019-a7db-e358c26dda49:admin@test-domain.com :: true

retractItemsFromNodes 0.234s
2022-08-29 23:00:38 |

2022-08-29 23:00:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-29 23:00:38 | ------------------------------------

2022-08-29 23:00:38 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-56641b93-27e4-43c6-bb06-30b0291d1cf9</node><item-id>item-4694ca77-b980-4019-a7db-e358c26dda49</item-id></data>

2022-08-29 23:00:38 | 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-4694ca77-b980-4019-a7db-e358c26dda49</value></item-id></result>

2022-08-29 23:00:38 | [Mutex] waiting for: [retracted:item:notifieditem-4694ca77-b980-4019-a7db-e358c26dda49:admin@test-domain.com]

2022-08-29 23:00:38 | [Mutex] received everything.

2022-08-29 23:00:38 | [Mutex] isItemNotified: retracted:item:notifieditem-4694ca77-b980-4019-a7db-e358c26dda49:admin@test-domain.com :: true

retrieveItemsFromNodes 0.176s
2022-08-29 23:00:38 |

2022-08-29 23:00:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-29 23:00:38 | ------------------------------------

2022-08-29 23:00:38 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-56641b93-27e4-43c6-bb06-30b0291d1cf9</node><item-id>item-4694ca77-b980-4019-a7db-e358c26dda49</item-id></data>

2022-08-29 23:00:38 | 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-56641b93-27e4-43c6-bb06-30b0291d1cf9</value></node><item-id type="text-single" label="Item ID"><value>item-4694ca77-b980-4019-a7db-e358c26dda49</value></item-id><item type="text-multi" label="Item"><value><item id="item-4694ca77-b980-4019-a7db-e358c26dda49"><test>item-4694ca77-b980-4019-a7db-e358c26dda49</test></item></value></item></result>

2022-08-29 23:00:38 | [Mutex] notify: [retrieved:item:item-4694ca77-b980-4019-a7db-e358c26dda49:payload-matches:true:localhost]

2022-08-29 23:00:38 | [Mutex] received everything.

2022-08-29 23:00:38 | [Mutex] isItemNotified: retrieved:item:item-4694ca77-b980-4019-a7db-e358c26dda49:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-08-29 23:00:38 |

2022-08-29 23:00:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-29 23:00:38 | ------------------------------------

2022-08-29 23:00:38 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-08-29 23:00:38 | 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-8a7e6045-d8d2-4e09-81e9-79c8501ecd5f</value><value>node-56641b93-27e4-43c6-bb06-30b0291d1cf9</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-08-29 23:00:38 |

2022-08-29 23:00:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-29 23:00:38 | ------------------------------------

2022-08-29 23:00:38 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-56641b93-27e4-43c6-bb06-30b0291d1cf9)</node-pattern></data>

2022-08-29 23:00:38 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.120s
2022-08-29 23:00:37 |

2022-08-29 23:00:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-29 23:00:37 | ------------------------------------

2022-08-29 23:00:37 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-56641b93-27e4-43c6-bb06-30b0291d1cf9</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.228s
2022-08-29 23:00:38 |

2022-08-29 23:00:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-29 23:00:38 | ------------------------------------

2022-08-29 23:00:38 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-56641b93-27e4-43c6-bb06-30b0291d1cf9</node><jids><value>admin@test-domain.com</value></jids></data>

2022-08-29 23:00:39 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>