Generated by TestNG with ReportNG at 23:01 PDT on Wednesday 06 October 2021
root@785cf647a4ab / Java 11.0.8 (Ubuntu) / 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 : 10.115s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.043s
2021-10-06 23:17:48 |

2021-10-06 23:17:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-06 23:17:48 | ------------------------------------

2021-10-06 23:17:48 | [Mutex] waiting for: [configured:node:node-0e11652e-5654-4162-a713-dfb80a3157e8:node-61e00a72-c0ed-47c5-ac26-6b38b8c8d5dd]

2021-10-06 23:17:48 | [Mutex] received everything.

2021-10-06 23:17:48 | [Mutex] isItemNotified: configured:node:node-0e11652e-5654-4162-a713-dfb80a3157e8:node-61e00a72-c0ed-47c5-ac26-6b38b8c8d5dd :: true

2021-10-06 23:17:49 | [Mutex] waiting for: [received:nodes:6bf368a1-0d5e-47fe-80e1-cf0a6603d712:localhost]

2021-10-06 23:17:49 | [Mutex] received everything.

2021-10-06 23:17:49 | [Mutex] isItemNotified: received:node:6bf368a1-0d5e-47fe-80e1-cf0a6603d712:localhost:node-0e11652e-5654-4162-a713-dfb80a3157e8:Node 0e11652e-5654-4162-a713-dfb80a3157e8 :: true

2021-10-06 23:17:49 | [Mutex] waiting for: [received:nodes:732d7b0a-cccc-40f5-9294-310b45f8ed69:localhost]

2021-10-06 23:17:49 | [Mutex] received everything.

2021-10-06 23:17:49 | [Mutex] isItemNotified: received:node:732d7b0a-cccc-40f5-9294-310b45f8ed69:localhost:node-0e11652e-5654-4162-a713-dfb80a3157e8:Node 0e11652e-5654-4162-a713-dfb80a3157e8 :: false

createNodes 1.529s
2021-10-06 23:17:46 |

2021-10-06 23:17:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-06 23:17:46 | ------------------------------------

2021-10-06 23:17:46 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-0e11652e-5654-4162-a713-dfb80a3157e8</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 0e11652e-5654-4162-a713-dfb80a3157e8</title></pubsub></data>

2021-10-06 23:17:46 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-10-06 23:17:47 | [Mutex] waiting for: [received:nodes:e2069d50-d011-42b1-8424-a6722b2f0996:localhost]

2021-10-06 23:17:47 | [Mutex] received everything.

2021-10-06 23:17:47 | [Mutex] isItemNotified: received:node:e2069d50-d011-42b1-8424-a6722b2f0996:localhost:node-0e11652e-5654-4162-a713-dfb80a3157e8:Node 0e11652e-5654-4162-a713-dfb80a3157e8 :: true

createSubnodes 1.036s
2021-10-06 23:17:47 |

2021-10-06 23:17:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-06 23:17:47 | ------------------------------------

2021-10-06 23:17:47 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-61e00a72-c0ed-47c5-ac26-6b38b8c8d5dd</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 61e00a72-c0ed-47c5-ac26-6b38b8c8d5dd</title></pubsub></data>

2021-10-06 23:17:47 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-10-06 23:17:48 | [Mutex] waiting for: [received:nodes:9c7a25a2-ec43-4481-9df3-835b3897160f:localhost]

2021-10-06 23:17:48 | [Mutex] received everything.

2021-10-06 23:17:48 | [Mutex] isItemNotified: received:node:9c7a25a2-ec43-4481-9df3-835b3897160f:localhost:node-61e00a72-c0ed-47c5-ac26-6b38b8c8d5dd:Node 61e00a72-c0ed-47c5-ac26-6b38b8c8d5dd :: true

deleteNodes 1.018s
2021-10-06 23:17:54 |

2021-10-06 23:17:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-06 23:17:54 | ------------------------------------

2021-10-06 23:17:54 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-61e00a72-c0ed-47c5-ac26-6b38b8c8d5dd</node></data>

2021-10-06 23:17:54 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-10-06 23:17:55 | [Mutex] waiting for: [received:nodes:11698a4f-cfdd-4f80-a64a-107f88de93a7:localhost]

2021-10-06 23:17:55 | [Mutex] received everything.

2021-10-06 23:17:55 | [Mutex] isItemNotified: received:node:11698a4f-cfdd-4f80-a64a-107f88de93a7:localhost:node-61e00a72-c0ed-47c5-ac26-6b38b8c8d5dd:Node 61e00a72-c0ed-47c5-ac26-6b38b8c8d5dd :: false

deleteSubnodes 1.152s
2021-10-06 23:17:53 |

2021-10-06 23:17:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-06 23:17:53 | ------------------------------------

2021-10-06 23:17:53 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-0e11652e-5654-4162-a713-dfb80a3157e8</node></data>

2021-10-06 23:17:53 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-10-06 23:17:54 | [Mutex] waiting for: [received:nodes:b75cbcf8-1e32-40fc-9499-c1349d751766:localhost]

2021-10-06 23:17:54 | [Mutex] received everything.

2021-10-06 23:17:54 | [Mutex] isItemNotified: received:node:b75cbcf8-1e32-40fc-9499-c1349d751766:localhost:node-0e11652e-5654-4162-a713-dfb80a3157e8:Node 0e11652e-5654-4162-a713-dfb80a3157e8 :: false

2021-10-06 23:17:54 | [Mutex] waiting for: [received:nodes:0bb5c3e1-cc55-4879-9983-f620553317e4:localhost]

2021-10-06 23:17:54 | [Mutex] received everything.

2021-10-06 23:17:54 | [Mutex] isItemNotified: received:node:0bb5c3e1-cc55-4879-9983-f620553317e4:localhost:node-0e11652e-5654-4162-a713-dfb80a3157e8:Node 0e11652e-5654-4162-a713-dfb80a3157e8 :: false

publishItemsToNodes 0.247s
2021-10-06 23:17:50 |

2021-10-06 23:17:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-06 23:17:50 | ------------------------------------

2021-10-06 23:17:50 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-0e11652e-5654-4162-a713-dfb80a3157e8</node><item-id>item-cccd4aa1-d276-4323-8784-af457f9af70d</item-id><entry><test>item-cccd4aa1-d276-4323-8784-af457f9af70d</test></entry></data>

2021-10-06 23:17:51 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-cccd4aa1-d276-4323-8784-af457f9af70d</value></item-id></result>

2021-10-06 23:17:51 | [Mutex] waiting for: [published:item:notifieditem-cccd4aa1-d276-4323-8784-af457f9af70d:admin@test-domain.com]

2021-10-06 23:17:51 | [Mutex] received everything.

2021-10-06 23:17:51 | [Mutex] isItemNotified: published:item:notifieditem-cccd4aa1-d276-4323-8784-af457f9af70d:admin@test-domain.com :: true

retractItemsFromNodes 0.289s
2021-10-06 23:17:51 |

2021-10-06 23:17:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-06 23:17:51 | ------------------------------------

2021-10-06 23:17:51 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-0e11652e-5654-4162-a713-dfb80a3157e8</node><item-id>item-cccd4aa1-d276-4323-8784-af457f9af70d</item-id></data>

2021-10-06 23:17:51 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-cccd4aa1-d276-4323-8784-af457f9af70d</value></item-id></result>

2021-10-06 23:17:51 | [Mutex] waiting for: [retracted:item:notifieditem-cccd4aa1-d276-4323-8784-af457f9af70d:admin@test-domain.com]

2021-10-06 23:17:51 | [Mutex] received everything.

2021-10-06 23:17:51 | [Mutex] isItemNotified: retracted:item:notifieditem-cccd4aa1-d276-4323-8784-af457f9af70d:admin@test-domain.com :: true

retrieveItemsFromNodes 0.365s
2021-10-06 23:17:51 |

2021-10-06 23:17:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-06 23:17:51 | ------------------------------------

2021-10-06 23:17:51 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-0e11652e-5654-4162-a713-dfb80a3157e8</node><item-id>item-cccd4aa1-d276-4323-8784-af457f9af70d</item-id></data>

2021-10-06 23:17:51 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node label="Node" type="text-single"><value>node-0e11652e-5654-4162-a713-dfb80a3157e8</value></node><item-id label="Item ID" type="text-single"><value>item-cccd4aa1-d276-4323-8784-af457f9af70d</value></item-id><item label="Item" type="text-multi"><value><item id="item-cccd4aa1-d276-4323-8784-af457f9af70d"><test>item-cccd4aa1-d276-4323-8784-af457f9af70d</test></item></value></item></result>

2021-10-06 23:17:51 | [Mutex] notify: [retrieved:item:item-cccd4aa1-d276-4323-8784-af457f9af70d:payload-matches:true:localhost]

2021-10-06 23:17:51 | [Mutex] received everything.

2021-10-06 23:17:51 | [Mutex] isItemNotified: retrieved:item:item-cccd4aa1-d276-4323-8784-af457f9af70d:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.049s
2021-10-06 23:17:51 |

2021-10-06 23:17:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-06 23:17:51 | ------------------------------------

2021-10-06 23:17:51 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-10-06 23:17:51 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-61e00a72-c0ed-47c5-ac26-6b38b8c8d5dd</value><value>test</value><value>node-0e11652e-5654-4162-a713-dfb80a3157e8</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2021-10-06 23:17:51 |

2021-10-06 23:17:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-06 23:17:51 | ------------------------------------

2021-10-06 23:17:51 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-0e11652e-5654-4162-a713-dfb80a3157e8)</node-pattern></data>

2021-10-06 23:17:51 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.144s
2021-10-06 23:17:49 |

2021-10-06 23:17:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-06 23:17:49 | ------------------------------------

2021-10-06 23:17:49 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-0e11652e-5654-4162-a713-dfb80a3157e8</node><jids><value>admin@test-domain.com</value></jids></data>

2021-10-06 23:17:49 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.297s
2021-10-06 23:17:51 |

2021-10-06 23:17:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-06 23:17:51 | ------------------------------------

2021-10-06 23:17:51 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-0e11652e-5654-4162-a713-dfb80a3157e8</node><jids><value>admin@test-domain.com</value></jids></data>

2021-10-06 23:17:52 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>