Generated by TestNG with ReportNG at 21:13 PST on Sunday 14 February 2021
root@87f6aca6b6f2 / 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.086s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.118s
2021-02-14 21:29:35 |

2021-02-14 21:29:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-14 21:29:35 | ------------------------------------

2021-02-14 21:29:35 | [Mutex] waiting for: [configured:node:node-a5f995a1-ee32-4d88-ba38-8457d4076606:node-8bf3ba6a-d469-4ca3-925e-d0a166084ad1]

2021-02-14 21:29:35 | [Mutex] received everything.

2021-02-14 21:29:35 | [Mutex] isItemNotified: configured:node:node-a5f995a1-ee32-4d88-ba38-8457d4076606:node-8bf3ba6a-d469-4ca3-925e-d0a166084ad1 :: true

2021-02-14 21:29:36 | [Mutex] waiting for: [received:nodes:65d78993-0b43-4c82-ac00-7141331c38b5:localhost]

2021-02-14 21:29:36 | [Mutex] received everything.

2021-02-14 21:29:36 | [Mutex] isItemNotified: received:node:65d78993-0b43-4c82-ac00-7141331c38b5:localhost:node-a5f995a1-ee32-4d88-ba38-8457d4076606:Node a5f995a1-ee32-4d88-ba38-8457d4076606 :: true

2021-02-14 21:29:36 | [Mutex] waiting for: [received:nodes:17835eae-3296-4177-9de6-ac1ae876abd9:localhost]

2021-02-14 21:29:36 | [Mutex] waiting for: [received:nodes:17835eae-3296-4177-9de6-ac1ae876abd9:localhost]

2021-02-14 21:29:36 | [Mutex] received everything.

2021-02-14 21:29:36 | [Mutex] isItemNotified: received:node:17835eae-3296-4177-9de6-ac1ae876abd9:localhost:node-a5f995a1-ee32-4d88-ba38-8457d4076606:Node a5f995a1-ee32-4d88-ba38-8457d4076606 :: false

createNodes 1.435s
2021-02-14 21:29:32 |

2021-02-14 21:29:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-14 21:29:32 | ------------------------------------

2021-02-14 21:29:32 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a5f995a1-ee32-4d88-ba38-8457d4076606</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node a5f995a1-ee32-4d88-ba38-8457d4076606</title></pubsub></data>

2021-02-14 21:29:33 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-02-14 21:29:34 | [Mutex] waiting for: [received:nodes:1f697107-f200-4cc4-a690-c3eb251d2eba:localhost]

2021-02-14 21:29:34 | [Mutex] received everything.

2021-02-14 21:29:34 | [Mutex] isItemNotified: received:node:1f697107-f200-4cc4-a690-c3eb251d2eba:localhost:node-a5f995a1-ee32-4d88-ba38-8457d4076606:Node a5f995a1-ee32-4d88-ba38-8457d4076606 :: true

createSubnodes 1.030s
2021-02-14 21:29:34 |

2021-02-14 21:29:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-14 21:29:34 | ------------------------------------

2021-02-14 21:29:34 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-8bf3ba6a-d469-4ca3-925e-d0a166084ad1</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 8bf3ba6a-d469-4ca3-925e-d0a166084ad1</title></pubsub></data>

2021-02-14 21:29:34 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-02-14 21:29:35 | [Mutex] waiting for: [received:nodes:2a42b4d8-143c-4b0f-b229-b702734c1d5a:localhost]

2021-02-14 21:29:35 | [Mutex] received everything.

2021-02-14 21:29:35 | [Mutex] isItemNotified: received:node:2a42b4d8-143c-4b0f-b229-b702734c1d5a:localhost:node-8bf3ba6a-d469-4ca3-925e-d0a166084ad1:Node 8bf3ba6a-d469-4ca3-925e-d0a166084ad1 :: true

deleteNodes 1.024s
2021-02-14 21:29:40 |

2021-02-14 21:29:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-14 21:29:40 | ------------------------------------

2021-02-14 21:29:40 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-8bf3ba6a-d469-4ca3-925e-d0a166084ad1</node></data>

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

2021-02-14 21:29:41 | [Mutex] waiting for: [received:nodes:1ccbcea2-cc1e-4af9-b526-5984aa9d8583:localhost]

2021-02-14 21:29:41 | [Mutex] waiting for: [received:nodes:1ccbcea2-cc1e-4af9-b526-5984aa9d8583:localhost]

2021-02-14 21:29:41 | [Mutex] waiting for: [received:nodes:1ccbcea2-cc1e-4af9-b526-5984aa9d8583:localhost]

2021-02-14 21:29:41 | [Mutex] received everything.

2021-02-14 21:29:41 | [Mutex] isItemNotified: received:node:1ccbcea2-cc1e-4af9-b526-5984aa9d8583:localhost:node-8bf3ba6a-d469-4ca3-925e-d0a166084ad1:Node 8bf3ba6a-d469-4ca3-925e-d0a166084ad1 :: false

deleteSubnodes 1.139s
2021-02-14 21:29:39 |

2021-02-14 21:29:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-14 21:29:39 | ------------------------------------

2021-02-14 21:29:39 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a5f995a1-ee32-4d88-ba38-8457d4076606</node></data>

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

2021-02-14 21:29:40 | [Mutex] waiting for: [received:nodes:68870806-c865-44a1-9250-54697a5f6cd2:localhost]

2021-02-14 21:29:40 | [Mutex] waiting for: [received:nodes:68870806-c865-44a1-9250-54697a5f6cd2:localhost]

2021-02-14 21:29:40 | [Mutex] received everything.

2021-02-14 21:29:40 | [Mutex] isItemNotified: received:node:68870806-c865-44a1-9250-54697a5f6cd2:localhost:node-a5f995a1-ee32-4d88-ba38-8457d4076606:Node a5f995a1-ee32-4d88-ba38-8457d4076606 :: false

2021-02-14 21:29:40 | [Mutex] waiting for: [received:nodes:a666a501-595b-4d51-aeb2-a30a2ae1ab71:localhost]

2021-02-14 21:29:40 | [Mutex] received everything.

2021-02-14 21:29:40 | [Mutex] isItemNotified: received:node:a666a501-595b-4d51-aeb2-a30a2ae1ab71:localhost:node-a5f995a1-ee32-4d88-ba38-8457d4076606:Node a5f995a1-ee32-4d88-ba38-8457d4076606 :: false

publishItemsToNodes 0.264s
2021-02-14 21:29:37 |

2021-02-14 21:29:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-14 21:29:37 | ------------------------------------

2021-02-14 21:29:37 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-a5f995a1-ee32-4d88-ba38-8457d4076606</node><item-id>item-a81150a3-c672-4b46-b096-beb7c49a155d</item-id><entry><test>item-a81150a3-c672-4b46-b096-beb7c49a155d</test></entry></data>

2021-02-14 21:29:37 | 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-a81150a3-c672-4b46-b096-beb7c49a155d</value></item-id></result>

2021-02-14 21:29:37 | [Mutex] waiting for: [published:item:notifieditem-a81150a3-c672-4b46-b096-beb7c49a155d:admin@test-domain.com]

2021-02-14 21:29:37 | [Mutex] received everything.

2021-02-14 21:29:37 | [Mutex] isItemNotified: published:item:notifieditem-a81150a3-c672-4b46-b096-beb7c49a155d:admin@test-domain.com :: true

retractItemsFromNodes 0.283s
2021-02-14 21:29:38 |

2021-02-14 21:29:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-14 21:29:38 | ------------------------------------

2021-02-14 21:29:38 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-a5f995a1-ee32-4d88-ba38-8457d4076606</node><item-id>item-a81150a3-c672-4b46-b096-beb7c49a155d</item-id></data>

2021-02-14 21:29:38 | 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-a81150a3-c672-4b46-b096-beb7c49a155d</value></item-id></result>

2021-02-14 21:29:38 | [Mutex] received everything.

2021-02-14 21:29:38 | [Mutex] isItemNotified: retracted:item:notifieditem-a81150a3-c672-4b46-b096-beb7c49a155d:admin@test-domain.com :: true

retrieveItemsFromNodes 0.244s
2021-02-14 21:29:37 |

2021-02-14 21:29:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-14 21:29:37 | ------------------------------------

2021-02-14 21:29:37 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-a5f995a1-ee32-4d88-ba38-8457d4076606</node><item-id>item-a81150a3-c672-4b46-b096-beb7c49a155d</item-id></data>

2021-02-14 21:29:38 | 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-a5f995a1-ee32-4d88-ba38-8457d4076606</value></node><item-id label="Item ID" type="text-single"><value>item-a81150a3-c672-4b46-b096-beb7c49a155d</value></item-id><item label="Item" type="text-multi"><value><item id="item-a81150a3-c672-4b46-b096-beb7c49a155d"><test>item-a81150a3-c672-4b46-b096-beb7c49a155d</test></item></value></item></result>

2021-02-14 21:29:38 | [Mutex] notify: [retrieved:item:item-a81150a3-c672-4b46-b096-beb7c49a155d:payload-matches:true:localhost]

2021-02-14 21:29:38 | [Mutex] received everything.

2021-02-14 21:29:38 | [Mutex] isItemNotified: retrieved:item:item-a81150a3-c672-4b46-b096-beb7c49a155d:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.053s
2021-02-14 21:29:38 |

2021-02-14 21:29:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-14 21:29:38 | ------------------------------------

2021-02-14 21:29:38 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-02-14 21:29:38 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-a5f995a1-ee32-4d88-ba38-8457d4076606</value><value>node-8bf3ba6a-d469-4ca3-925e-d0a166084ad1</value><value>test</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2021-02-14 21:29:38 |

2021-02-14 21:29:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-14 21:29:38 | ------------------------------------

2021-02-14 21:29: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-a5f995a1-ee32-4d88-ba38-8457d4076606)</node-pattern></data>

2021-02-14 21:29:38 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.103s
2021-02-14 21:29:36 |

2021-02-14 21:29:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-14 21:29:36 | ------------------------------------

2021-02-14 21:29:36 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-a5f995a1-ee32-4d88-ba38-8457d4076606</node><jids><value>admin@test-domain.com</value></jids></data>

2021-02-14 21:29:36 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.279s
2021-02-14 21:29:38 |

2021-02-14 21:29:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-14 21:29:38 | ------------------------------------

2021-02-14 21:29:38 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-a5f995a1-ee32-4d88-ba38-8457d4076606</node><jids><value>admin@test-domain.com</value></jids></data>

2021-02-14 21:29:38 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>