Generated by TestNG with ReportNG at 21:27 PST on Tuesday 09 November 2021
root@b2c2a8eba6e6 / 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.412s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.117s
2021-11-09 21:44:24 |

2021-11-09 21:44:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-09 21:44:24 | ------------------------------------

2021-11-09 21:44:24 | [Mutex] waiting for: [configured:node:node-dff8bfc7-fd7a-4c3c-9d52-b92a446b84d1:node-a13b2f40-aadc-4612-bf16-12636250484b]

2021-11-09 21:44:25 | [Mutex] received everything.

2021-11-09 21:44:25 | [Mutex] isItemNotified: configured:node:node-dff8bfc7-fd7a-4c3c-9d52-b92a446b84d1:node-a13b2f40-aadc-4612-bf16-12636250484b :: true

2021-11-09 21:44:26 | [Mutex] waiting for: [received:nodes:64d5faf4-8d4b-46d1-92e4-99917aea83b0:localhost]

2021-11-09 21:44:26 | [Mutex] received everything.

2021-11-09 21:44:26 | [Mutex] isItemNotified: received:node:64d5faf4-8d4b-46d1-92e4-99917aea83b0:localhost:node-dff8bfc7-fd7a-4c3c-9d52-b92a446b84d1:Node dff8bfc7-fd7a-4c3c-9d52-b92a446b84d1 :: true

2021-11-09 21:44:26 | [Mutex] waiting for: [received:nodes:a1acdef6-e3f6-4c61-9cbd-def3ae4ec6e6:localhost]

2021-11-09 21:44:26 | [Mutex] received everything.

2021-11-09 21:44:26 | [Mutex] isItemNotified: received:node:a1acdef6-e3f6-4c61-9cbd-def3ae4ec6e6:localhost:node-dff8bfc7-fd7a-4c3c-9d52-b92a446b84d1:Node dff8bfc7-fd7a-4c3c-9d52-b92a446b84d1 :: false

createNodes 1.656s
2021-11-09 21:44:22 |

2021-11-09 21:44:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-09 21:44:22 | ------------------------------------

2021-11-09 21:44:22 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-dff8bfc7-fd7a-4c3c-9d52-b92a446b84d1</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node dff8bfc7-fd7a-4c3c-9d52-b92a446b84d1</title></pubsub></data>

2021-11-09 21:44:22 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-11-09 21:44:23 | [Mutex] waiting for: [received:nodes:e189c9ff-991b-4636-94d4-f7298646f659:localhost]

2021-11-09 21:44:23 | [Mutex] received everything.

2021-11-09 21:44:23 | [Mutex] isItemNotified: received:node:e189c9ff-991b-4636-94d4-f7298646f659:localhost:node-dff8bfc7-fd7a-4c3c-9d52-b92a446b84d1:Node dff8bfc7-fd7a-4c3c-9d52-b92a446b84d1 :: true

createSubnodes 1.025s
2021-11-09 21:44:23 |

2021-11-09 21:44:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-09 21:44:23 | ------------------------------------

2021-11-09 21:44:23 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a13b2f40-aadc-4612-bf16-12636250484b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node a13b2f40-aadc-4612-bf16-12636250484b</title></pubsub></data>

2021-11-09 21:44:23 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-11-09 21:44:24 | [Mutex] waiting for: [received:nodes:69e69b15-2aa7-4941-a0af-f73fd81f20d5:localhost]

2021-11-09 21:44:24 | [Mutex] received everything.

2021-11-09 21:44:24 | [Mutex] isItemNotified: received:node:69e69b15-2aa7-4941-a0af-f73fd81f20d5:localhost:node-a13b2f40-aadc-4612-bf16-12636250484b:Node a13b2f40-aadc-4612-bf16-12636250484b :: true

deleteNodes 1.018s
2021-11-09 21:44:30 |

2021-11-09 21:44:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-09 21:44:30 | ------------------------------------

2021-11-09 21:44:30 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a13b2f40-aadc-4612-bf16-12636250484b</node></data>

2021-11-09 21:44:30 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-11-09 21:44:31 | [Mutex] waiting for: [received:nodes:2a18c552-f161-4516-b909-085e129358f4:localhost]

2021-11-09 21:44:31 | [Mutex] received everything.

2021-11-09 21:44:31 | [Mutex] isItemNotified: received:node:2a18c552-f161-4516-b909-085e129358f4:localhost:node-a13b2f40-aadc-4612-bf16-12636250484b:Node a13b2f40-aadc-4612-bf16-12636250484b :: false

deleteSubnodes 1.136s
2021-11-09 21:44:29 |

2021-11-09 21:44:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-09 21:44:29 | ------------------------------------

2021-11-09 21:44:29 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-dff8bfc7-fd7a-4c3c-9d52-b92a446b84d1</node></data>

2021-11-09 21:44:29 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-11-09 21:44:30 | [Mutex] waiting for: [received:nodes:da2ed8b0-c1b1-43ac-af46-2757dc5e3a7d:localhost]

2021-11-09 21:44:30 | [Mutex] received everything.

2021-11-09 21:44:30 | [Mutex] isItemNotified: received:node:da2ed8b0-c1b1-43ac-af46-2757dc5e3a7d:localhost:node-dff8bfc7-fd7a-4c3c-9d52-b92a446b84d1:Node dff8bfc7-fd7a-4c3c-9d52-b92a446b84d1 :: false

2021-11-09 21:44:30 | [Mutex] waiting for: [received:nodes:fc428c8f-f933-422e-b97a-91f0ad5db18d:localhost]

2021-11-09 21:44:30 | [Mutex] received everything.

2021-11-09 21:44:30 | [Mutex] isItemNotified: received:node:fc428c8f-f933-422e-b97a-91f0ad5db18d:localhost:node-dff8bfc7-fd7a-4c3c-9d52-b92a446b84d1:Node dff8bfc7-fd7a-4c3c-9d52-b92a446b84d1 :: false

publishItemsToNodes 0.263s
2021-11-09 21:44:27 |

2021-11-09 21:44:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-09 21:44:27 | ------------------------------------

2021-11-09 21:44:27 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-dff8bfc7-fd7a-4c3c-9d52-b92a446b84d1</node><item-id>item-04ada0f3-bd54-4e5e-bd8b-82c9624a6fdf</item-id><entry><test>item-04ada0f3-bd54-4e5e-bd8b-82c9624a6fdf</test></entry></data>

2021-11-09 21:44:27 | 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-04ada0f3-bd54-4e5e-bd8b-82c9624a6fdf</value></item-id></result>

2021-11-09 21:44:27 | [Mutex] waiting for: [published:item:notifieditem-04ada0f3-bd54-4e5e-bd8b-82c9624a6fdf:admin@test-domain.com]

2021-11-09 21:44:27 | [Mutex] received everything.

2021-11-09 21:44:27 | [Mutex] isItemNotified: published:item:notifieditem-04ada0f3-bd54-4e5e-bd8b-82c9624a6fdf:admin@test-domain.com :: true

retractItemsFromNodes 0.238s
2021-11-09 21:44:27 |

2021-11-09 21:44:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-09 21:44:27 | ------------------------------------

2021-11-09 21:44:27 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-dff8bfc7-fd7a-4c3c-9d52-b92a446b84d1</node><item-id>item-04ada0f3-bd54-4e5e-bd8b-82c9624a6fdf</item-id></data>

2021-11-09 21:44:28 | 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-04ada0f3-bd54-4e5e-bd8b-82c9624a6fdf</value></item-id></result>

2021-11-09 21:44:28 | [Mutex] received everything.

2021-11-09 21:44:28 | [Mutex] isItemNotified: retracted:item:notifieditem-04ada0f3-bd54-4e5e-bd8b-82c9624a6fdf:admin@test-domain.com :: true

retrieveItemsFromNodes 0.336s
2021-11-09 21:44:27 |

2021-11-09 21:44:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-09 21:44:27 | ------------------------------------

2021-11-09 21:44:27 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-dff8bfc7-fd7a-4c3c-9d52-b92a446b84d1</node><item-id>item-04ada0f3-bd54-4e5e-bd8b-82c9624a6fdf</item-id></data>

2021-11-09 21:44:27 | 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-dff8bfc7-fd7a-4c3c-9d52-b92a446b84d1</value></node><item-id label="Item ID" type="text-single"><value>item-04ada0f3-bd54-4e5e-bd8b-82c9624a6fdf</value></item-id><item label="Item" type="text-multi"><value><item id="item-04ada0f3-bd54-4e5e-bd8b-82c9624a6fdf"><test>item-04ada0f3-bd54-4e5e-bd8b-82c9624a6fdf</test></item></value></item></result>

2021-11-09 21:44:27 | [Mutex] notify: [retrieved:item:item-04ada0f3-bd54-4e5e-bd8b-82c9624a6fdf:payload-matches:true:localhost]

2021-11-09 21:44:27 | [Mutex] received everything.

2021-11-09 21:44:27 | [Mutex] isItemNotified: retrieved:item:item-04ada0f3-bd54-4e5e-bd8b-82c9624a6fdf:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-11-09 21:44:27 |

2021-11-09 21:44:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-09 21:44:27 | ------------------------------------

2021-11-09 21:44:27 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-11-09 21:44:27 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-dff8bfc7-fd7a-4c3c-9d52-b92a446b84d1</value><value>node-a13b2f40-aadc-4612-bf16-12636250484b</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-11-09 21:44:27 |

2021-11-09 21:44:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-09 21:44:27 | ------------------------------------

2021-11-09 21:44:27 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-dff8bfc7-fd7a-4c3c-9d52-b92a446b84d1)</node-pattern></data>

2021-11-09 21:44:27 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.187s
2021-11-09 21:44:26 |

2021-11-09 21:44:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-09 21:44:26 | ------------------------------------

2021-11-09 21:44:26 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-dff8bfc7-fd7a-4c3c-9d52-b92a446b84d1</node><jids><value>admin@test-domain.com</value></jids></data>

2021-11-09 21:44:26 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.341s
2021-11-09 21:44:28 |

2021-11-09 21:44:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-09 21:44:28 | ------------------------------------

2021-11-09 21:44:28 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-dff8bfc7-fd7a-4c3c-9d52-b92a446b84d1</node><jids><value>admin@test-domain.com</value></jids></data>

2021-11-09 21:44:28 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>