Generated by TestNG with ReportNG at 22:35 PDT on Monday 02 May 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.738s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.106s
2022-05-02 22:50:54 |

2022-05-02 22:50:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-02 22:50:54 | ------------------------------------

2022-05-02 22:50:54 | [Mutex] waiting for: [configured:node:node-a6a19faf-f2a8-4f20-a027-4908f2272c3a:node-7a69783c-bb2f-40d3-940b-c269f0688676]

2022-05-02 22:50:54 | [Mutex] received everything.

2022-05-02 22:50:54 | [Mutex] isItemNotified: configured:node:node-a6a19faf-f2a8-4f20-a027-4908f2272c3a:node-7a69783c-bb2f-40d3-940b-c269f0688676 :: true

2022-05-02 22:50:55 | [Mutex] waiting for: [received:nodes:8728f43a-45ca-4eed-8592-b12a1e8df3f8:localhost]

2022-05-02 22:50:55 | [Mutex] received everything.

2022-05-02 22:50:55 | [Mutex] isItemNotified: received:node:8728f43a-45ca-4eed-8592-b12a1e8df3f8:localhost:node-a6a19faf-f2a8-4f20-a027-4908f2272c3a:Node a6a19faf-f2a8-4f20-a027-4908f2272c3a :: true

2022-05-02 22:50:55 | [Mutex] waiting for: [received:nodes:b6dbabc5-5a32-4da2-bdd0-086e9a733877:localhost]

2022-05-02 22:50:55 | [Mutex] received everything.

2022-05-02 22:50:55 | [Mutex] isItemNotified: received:node:b6dbabc5-5a32-4da2-bdd0-086e9a733877:localhost:node-a6a19faf-f2a8-4f20-a027-4908f2272c3a:Node a6a19faf-f2a8-4f20-a027-4908f2272c3a :: false

createNodes 1.434s
2022-05-02 22:50:51 |

2022-05-02 22:50:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-02 22:50:51 | ------------------------------------

2022-05-02 22:50:51 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a6a19faf-f2a8-4f20-a027-4908f2272c3a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node a6a19faf-f2a8-4f20-a027-4908f2272c3a</title></pubsub></data>

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

2022-05-02 22:50:53 | [Mutex] waiting for: [received:nodes:a351eeba-cbfb-4a91-a0dd-0ae9576e46eb:localhost]

2022-05-02 22:50:53 | [Mutex] received everything.

2022-05-02 22:50:53 | [Mutex] isItemNotified: received:node:a351eeba-cbfb-4a91-a0dd-0ae9576e46eb:localhost:node-a6a19faf-f2a8-4f20-a027-4908f2272c3a:Node a6a19faf-f2a8-4f20-a027-4908f2272c3a :: true

createSubnodes 1.038s
2022-05-02 22:50:53 |

2022-05-02 22:50:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-02 22:50:53 | ------------------------------------

2022-05-02 22:50:53 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-7a69783c-bb2f-40d3-940b-c269f0688676</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 7a69783c-bb2f-40d3-940b-c269f0688676</title></pubsub></data>

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

2022-05-02 22:50:54 | [Mutex] waiting for: [received:nodes:289f017a-38a2-44c1-813a-3e91af040bb6:localhost]

2022-05-02 22:50:54 | [Mutex] waiting for: [received:nodes:289f017a-38a2-44c1-813a-3e91af040bb6:localhost]

2022-05-02 22:50:54 | [Mutex] received everything.

2022-05-02 22:50:54 | [Mutex] isItemNotified: received:node:289f017a-38a2-44c1-813a-3e91af040bb6:localhost:node-7a69783c-bb2f-40d3-940b-c269f0688676:Node 7a69783c-bb2f-40d3-940b-c269f0688676 :: true

deleteNodes 1.026s
2022-05-02 22:50:59 |

2022-05-02 22:50:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-02 22:50:59 | ------------------------------------

2022-05-02 22:50:59 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-7a69783c-bb2f-40d3-940b-c269f0688676</node></data>

2022-05-02 22:50:59 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-05-02 22:51:00 | [Mutex] waiting for: [received:nodes:090d9245-c227-4f24-972f-8f5a6f7ebebf:localhost]

2022-05-02 22:51:00 | [Mutex] received everything.

2022-05-02 22:51:00 | [Mutex] isItemNotified: received:node:090d9245-c227-4f24-972f-8f5a6f7ebebf:localhost:node-7a69783c-bb2f-40d3-940b-c269f0688676:Node 7a69783c-bb2f-40d3-940b-c269f0688676 :: false

deleteSubnodes 1.181s
2022-05-02 22:50:58 |

2022-05-02 22:50:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-02 22:50:58 | ------------------------------------

2022-05-02 22:50:58 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a6a19faf-f2a8-4f20-a027-4908f2272c3a</node></data>

2022-05-02 22:50:58 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-05-02 22:50:59 | [Mutex] waiting for: [received:nodes:ad2fcca5-9595-4047-83cb-4dabe7dea7d2:localhost]

2022-05-02 22:50:59 | [Mutex] received everything.

2022-05-02 22:50:59 | [Mutex] isItemNotified: received:node:ad2fcca5-9595-4047-83cb-4dabe7dea7d2:localhost:node-a6a19faf-f2a8-4f20-a027-4908f2272c3a:Node a6a19faf-f2a8-4f20-a027-4908f2272c3a :: false

2022-05-02 22:50:59 | [Mutex] waiting for: [received:nodes:05816495-bcae-4af7-ada6-b2b86ed46709:localhost]

2022-05-02 22:50:59 | [Mutex] received everything.

2022-05-02 22:50:59 | [Mutex] isItemNotified: received:node:05816495-bcae-4af7-ada6-b2b86ed46709:localhost:node-a6a19faf-f2a8-4f20-a027-4908f2272c3a:Node a6a19faf-f2a8-4f20-a027-4908f2272c3a :: false

publishItemsToNodes 0.203s
2022-05-02 22:50:56 |

2022-05-02 22:50:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-02 22:50:56 | ------------------------------------

2022-05-02 22:50:56 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-a6a19faf-f2a8-4f20-a027-4908f2272c3a</node><item-id>item-5ed37ab3-3a92-49d6-9a10-55ae76d34aa0</item-id><entry><test>item-5ed37ab3-3a92-49d6-9a10-55ae76d34aa0</test></entry></data>

2022-05-02 22:50:56 | 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-5ed37ab3-3a92-49d6-9a10-55ae76d34aa0</value></item-id></result>

2022-05-02 22:50:56 | [Mutex] received everything.

2022-05-02 22:50:56 | [Mutex] isItemNotified: published:item:notifieditem-5ed37ab3-3a92-49d6-9a10-55ae76d34aa0:admin@test-domain.com :: true

retractItemsFromNodes 0.308s
2022-05-02 22:50:56 |

2022-05-02 22:50:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-02 22:50:56 | ------------------------------------

2022-05-02 22:50:56 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-a6a19faf-f2a8-4f20-a027-4908f2272c3a</node><item-id>item-5ed37ab3-3a92-49d6-9a10-55ae76d34aa0</item-id></data>

2022-05-02 22:50:57 | 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-5ed37ab3-3a92-49d6-9a10-55ae76d34aa0</value></item-id></result>

2022-05-02 22:50:57 | [Mutex] waiting for: [retracted:item:notifieditem-5ed37ab3-3a92-49d6-9a10-55ae76d34aa0:admin@test-domain.com]

2022-05-02 22:50:57 | [Mutex] received everything.

2022-05-02 22:50:57 | [Mutex] isItemNotified: retracted:item:notifieditem-5ed37ab3-3a92-49d6-9a10-55ae76d34aa0:admin@test-domain.com :: true

retrieveItemsFromNodes 0.288s
2022-05-02 22:50:56 |

2022-05-02 22:50:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-02 22:50:56 | ------------------------------------

2022-05-02 22:50:56 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-a6a19faf-f2a8-4f20-a027-4908f2272c3a</node><item-id>item-5ed37ab3-3a92-49d6-9a10-55ae76d34aa0</item-id></data>

2022-05-02 22:50:56 | 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-a6a19faf-f2a8-4f20-a027-4908f2272c3a</value></node><item-id type="text-single" label="Item ID"><value>item-5ed37ab3-3a92-49d6-9a10-55ae76d34aa0</value></item-id><item type="text-multi" label="Item"><value><item id="item-5ed37ab3-3a92-49d6-9a10-55ae76d34aa0"><test>item-5ed37ab3-3a92-49d6-9a10-55ae76d34aa0</test></item></value></item></result>

2022-05-02 22:50:56 | [Mutex] notify: [retrieved:item:item-5ed37ab3-3a92-49d6-9a10-55ae76d34aa0:payload-matches:true:localhost]

2022-05-02 22:50:56 | [Mutex] received everything.

2022-05-02 22:50:56 | [Mutex] isItemNotified: retrieved:item:item-5ed37ab3-3a92-49d6-9a10-55ae76d34aa0:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-05-02 22:50:56 |

2022-05-02 22:50:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-02 22:50:56 | ------------------------------------

2022-05-02 22:50:56 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-05-02 22:50:56 | 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-a6a19faf-f2a8-4f20-a027-4908f2272c3a</value><value>node-7a69783c-bb2f-40d3-940b-c269f0688676</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-05-02 22:50:56 |

2022-05-02 22:50:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-02 22:50:56 | ------------------------------------

2022-05-02 22:50:56 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-a6a19faf-f2a8-4f20-a027-4908f2272c3a)</node-pattern></data>

2022-05-02 22:50:56 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.129s
2022-05-02 22:50:55 |

2022-05-02 22:50:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-02 22:50:55 | ------------------------------------

2022-05-02 22:50:55 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-a6a19faf-f2a8-4f20-a027-4908f2272c3a</node><jids><value>admin@test-domain.com</value></jids></data>

2022-05-02 22:50:55 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.202s
2022-05-02 22:50:57 |

2022-05-02 22:50:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-02 22:50:57 | ------------------------------------

2022-05-02 22:50:57 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-a6a19faf-f2a8-4f20-a027-4908f2272c3a</node><jids><value>admin@test-domain.com</value></jids></data>

2022-05-02 22:50:57 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>