Generated by TestNG with ReportNG at 23:01 PDT on Wednesday 13 April 2022
root@21fb2cc9076b / 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.695s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.098s
2022-04-13 23:16:12 |

2022-04-13 23:16:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-13 23:16:12 | ------------------------------------

2022-04-13 23:16:12 | [Mutex] waiting for: [configured:node:node-5cd7bf2b-54ef-4222-a42d-51aafe4d2530:node-ff0c028f-c1d5-48b0-8275-c86461bb2b3d]

2022-04-13 23:16:12 | [Mutex] received everything.

2022-04-13 23:16:12 | [Mutex] isItemNotified: configured:node:node-5cd7bf2b-54ef-4222-a42d-51aafe4d2530:node-ff0c028f-c1d5-48b0-8275-c86461bb2b3d :: true

2022-04-13 23:16:13 | [Mutex] waiting for: [received:nodes:ff8843a9-7011-4bc8-aaf1-a12251143fe2:localhost]

2022-04-13 23:16:13 | [Mutex] received everything.

2022-04-13 23:16:13 | [Mutex] isItemNotified: received:node:ff8843a9-7011-4bc8-aaf1-a12251143fe2:localhost:node-5cd7bf2b-54ef-4222-a42d-51aafe4d2530:Node 5cd7bf2b-54ef-4222-a42d-51aafe4d2530 :: true

2022-04-13 23:16:13 | [Mutex] waiting for: [received:nodes:e4bc2145-ebbc-4cb2-b0ec-bd6cbdbe8eca:localhost]

2022-04-13 23:16:13 | [Mutex] received everything.

2022-04-13 23:16:13 | [Mutex] isItemNotified: received:node:e4bc2145-ebbc-4cb2-b0ec-bd6cbdbe8eca:localhost:node-5cd7bf2b-54ef-4222-a42d-51aafe4d2530:Node 5cd7bf2b-54ef-4222-a42d-51aafe4d2530 :: false

createNodes 1.562s
2022-04-13 23:16:09 |

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

2022-04-13 23:16:09 | ------------------------------------

2022-04-13 23:16:09 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-5cd7bf2b-54ef-4222-a42d-51aafe4d2530</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 5cd7bf2b-54ef-4222-a42d-51aafe4d2530</title></pubsub></data>

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

2022-04-13 23:16:11 | [Mutex] waiting for: [received:nodes:f0f352d9-994f-4952-8814-6cd3b9b0ffb6:localhost]

2022-04-13 23:16:11 | [Mutex] received everything.

2022-04-13 23:16:11 | [Mutex] isItemNotified: received:node:f0f352d9-994f-4952-8814-6cd3b9b0ffb6:localhost:node-5cd7bf2b-54ef-4222-a42d-51aafe4d2530:Node 5cd7bf2b-54ef-4222-a42d-51aafe4d2530 :: true

createSubnodes 1.024s
2022-04-13 23:16:11 |

2022-04-13 23:16:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-13 23:16:11 | ------------------------------------

2022-04-13 23:16:11 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-ff0c028f-c1d5-48b0-8275-c86461bb2b3d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node ff0c028f-c1d5-48b0-8275-c86461bb2b3d</title></pubsub></data>

2022-04-13 23:16:11 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-04-13 23:16:12 | [Mutex] waiting for: [received:nodes:f42c37f2-6684-4588-843b-0badf27c3451:localhost]

2022-04-13 23:16:12 | [Mutex] received everything.

2022-04-13 23:16:12 | [Mutex] isItemNotified: received:node:f42c37f2-6684-4588-843b-0badf27c3451:localhost:node-ff0c028f-c1d5-48b0-8275-c86461bb2b3d:Node ff0c028f-c1d5-48b0-8275-c86461bb2b3d :: true

deleteNodes 1.023s
2022-04-13 23:16:17 |

2022-04-13 23:16:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-13 23:16:17 | ------------------------------------

2022-04-13 23:16:17 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-ff0c028f-c1d5-48b0-8275-c86461bb2b3d</node></data>

2022-04-13 23:16:17 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-04-13 23:16:18 | [Mutex] waiting for: [received:nodes:5ae794fe-1b93-485f-aada-a9ece9a9299c:localhost]

2022-04-13 23:16:18 | [Mutex] received everything.

2022-04-13 23:16:18 | [Mutex] isItemNotified: received:node:5ae794fe-1b93-485f-aada-a9ece9a9299c:localhost:node-ff0c028f-c1d5-48b0-8275-c86461bb2b3d:Node ff0c028f-c1d5-48b0-8275-c86461bb2b3d :: false

deleteSubnodes 1.120s
2022-04-13 23:16:16 |

2022-04-13 23:16:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-13 23:16:16 | ------------------------------------

2022-04-13 23:16:16 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-5cd7bf2b-54ef-4222-a42d-51aafe4d2530</node></data>

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

2022-04-13 23:16:17 | [Mutex] waiting for: [received:nodes:9c2e1d5f-4f7c-455d-93bc-cf8b870b50d2:localhost]

2022-04-13 23:16:17 | [Mutex] waiting for: [received:nodes:9c2e1d5f-4f7c-455d-93bc-cf8b870b50d2:localhost]

2022-04-13 23:16:17 | [Mutex] received everything.

2022-04-13 23:16:17 | [Mutex] isItemNotified: received:node:9c2e1d5f-4f7c-455d-93bc-cf8b870b50d2:localhost:node-5cd7bf2b-54ef-4222-a42d-51aafe4d2530:Node 5cd7bf2b-54ef-4222-a42d-51aafe4d2530 :: false

2022-04-13 23:16:17 | [Mutex] waiting for: [received:nodes:54a452c0-e7ee-4dc6-81c2-e7f20efedee3:localhost]

2022-04-13 23:16:17 | [Mutex] received everything.

2022-04-13 23:16:17 | [Mutex] isItemNotified: received:node:54a452c0-e7ee-4dc6-81c2-e7f20efedee3:localhost:node-5cd7bf2b-54ef-4222-a42d-51aafe4d2530:Node 5cd7bf2b-54ef-4222-a42d-51aafe4d2530 :: false

publishItemsToNodes 0.232s
2022-04-13 23:16:14 |

2022-04-13 23:16:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-13 23:16:14 | ------------------------------------

2022-04-13 23:16:14 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-5cd7bf2b-54ef-4222-a42d-51aafe4d2530</node><item-id>item-18c4b78c-10d1-4df2-a23a-8010beaf95b7</item-id><entry><test>item-18c4b78c-10d1-4df2-a23a-8010beaf95b7</test></entry></data>

2022-04-13 23:16:14 | 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-18c4b78c-10d1-4df2-a23a-8010beaf95b7</value></item-id></result>

2022-04-13 23:16:14 | [Mutex] waiting for: [published:item:notifieditem-18c4b78c-10d1-4df2-a23a-8010beaf95b7:admin@test-domain.com]

2022-04-13 23:16:14 | [Mutex] received everything.

2022-04-13 23:16:14 | [Mutex] isItemNotified: published:item:notifieditem-18c4b78c-10d1-4df2-a23a-8010beaf95b7:admin@test-domain.com :: true

retractItemsFromNodes 0.288s
2022-04-13 23:16:14 |

2022-04-13 23:16:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-13 23:16:14 | ------------------------------------

2022-04-13 23:16:14 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-5cd7bf2b-54ef-4222-a42d-51aafe4d2530</node><item-id>item-18c4b78c-10d1-4df2-a23a-8010beaf95b7</item-id></data>

2022-04-13 23:16:15 | 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-18c4b78c-10d1-4df2-a23a-8010beaf95b7</value></item-id></result>

2022-04-13 23:16:15 | [Mutex] received everything.

2022-04-13 23:16:15 | [Mutex] isItemNotified: retracted:item:notifieditem-18c4b78c-10d1-4df2-a23a-8010beaf95b7:admin@test-domain.com :: true

retrieveItemsFromNodes 0.265s
2022-04-13 23:16:14 |

2022-04-13 23:16:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-13 23:16:14 | ------------------------------------

2022-04-13 23:16:14 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-5cd7bf2b-54ef-4222-a42d-51aafe4d2530</node><item-id>item-18c4b78c-10d1-4df2-a23a-8010beaf95b7</item-id></data>

2022-04-13 23:16:14 | 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-5cd7bf2b-54ef-4222-a42d-51aafe4d2530</value></node><item-id type="text-single" label="Item ID"><value>item-18c4b78c-10d1-4df2-a23a-8010beaf95b7</value></item-id><item type="text-multi" label="Item"><value><item id="item-18c4b78c-10d1-4df2-a23a-8010beaf95b7"><test>item-18c4b78c-10d1-4df2-a23a-8010beaf95b7</test></item></value></item></result>

2022-04-13 23:16:14 | [Mutex] notify: [retrieved:item:item-18c4b78c-10d1-4df2-a23a-8010beaf95b7:payload-matches:true:localhost]

2022-04-13 23:16:14 | [Mutex] received everything.

2022-04-13 23:16:14 | [Mutex] isItemNotified: retrieved:item:item-18c4b78c-10d1-4df2-a23a-8010beaf95b7:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-04-13 23:16:14 |

2022-04-13 23:16:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-13 23:16:14 | ------------------------------------

2022-04-13 23:16:14 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-04-13 23:16:14 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-ff0c028f-c1d5-48b0-8275-c86461bb2b3d</value><value>test</value><value>node-5cd7bf2b-54ef-4222-a42d-51aafe4d2530</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.057s
2022-04-13 23:16:14 |

2022-04-13 23:16:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-13 23:16:14 | ------------------------------------

2022-04-13 23:16:14 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-5cd7bf2b-54ef-4222-a42d-51aafe4d2530)</node-pattern></data>

2022-04-13 23:16:14 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.119s
2022-04-13 23:16:13 |

2022-04-13 23:16:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-13 23:16:13 | ------------------------------------

2022-04-13 23:16:13 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-5cd7bf2b-54ef-4222-a42d-51aafe4d2530</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.198s
2022-04-13 23:16:15 |

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

2022-04-13 23:16:15 | ------------------------------------

2022-04-13 23:16:15 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-5cd7bf2b-54ef-4222-a42d-51aafe4d2530</node><jids><value>admin@test-domain.com</value></jids></data>

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