Generated by TestNG with ReportNG at 22:46 PDT on Friday 09 October 2020
root@eaa73862192b / 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 : 9.784s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.042s
2020-10-09 23:03:16 |

2020-10-09 23:03:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-09 23:03:16 | ------------------------------------

2020-10-09 23:03:16 | [Mutex] waiting for: [configured:node:node-64862f50-27b0-4248-8a46-2e681ad376cb:node-d95f84a4-d01e-4ce5-a48f-217f204e0fa3]

2020-10-09 23:03:16 | [Mutex] received everything.

2020-10-09 23:03:16 | [Mutex] isItemNotified: configured:node:node-64862f50-27b0-4248-8a46-2e681ad376cb:node-d95f84a4-d01e-4ce5-a48f-217f204e0fa3 :: true

2020-10-09 23:03:17 | [Mutex] waiting for: [received:nodes:a25cd127-a23f-4ded-b8d0-84a97898e321:localhost]

2020-10-09 23:03:17 | [Mutex] received everything.

2020-10-09 23:03:17 | [Mutex] isItemNotified: received:node:a25cd127-a23f-4ded-b8d0-84a97898e321:localhost:node-64862f50-27b0-4248-8a46-2e681ad376cb:Node 64862f50-27b0-4248-8a46-2e681ad376cb :: true

2020-10-09 23:03:17 | [Mutex] waiting for: [received:nodes:8ab1d3f5-6c20-4d40-ae4b-55a82e9052f7:localhost]

2020-10-09 23:03:17 | [Mutex] received everything.

2020-10-09 23:03:17 | [Mutex] isItemNotified: received:node:8ab1d3f5-6c20-4d40-ae4b-55a82e9052f7:localhost:node-64862f50-27b0-4248-8a46-2e681ad376cb:Node 64862f50-27b0-4248-8a46-2e681ad376cb :: false

createNodes 1.445s
2020-10-09 23:03:13 |

2020-10-09 23:03:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-09 23:03:13 | ------------------------------------

2020-10-09 23:03:13 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-64862f50-27b0-4248-8a46-2e681ad376cb</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 64862f50-27b0-4248-8a46-2e681ad376cb</title></pubsub></data>

2020-10-09 23:03:14 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-10-09 23:03:15 | [Mutex] waiting for: [received:nodes:f63169f4-c922-400f-bd2d-be5e2c5c5fb9:localhost]

2020-10-09 23:03:15 | [Mutex] received everything.

2020-10-09 23:03:15 | [Mutex] isItemNotified: received:node:f63169f4-c922-400f-bd2d-be5e2c5c5fb9:localhost:node-64862f50-27b0-4248-8a46-2e681ad376cb:Node 64862f50-27b0-4248-8a46-2e681ad376cb :: true

createSubnodes 1.038s
2020-10-09 23:03:15 |

2020-10-09 23:03:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-09 23:03:15 | ------------------------------------

2020-10-09 23:03:15 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d95f84a4-d01e-4ce5-a48f-217f204e0fa3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node d95f84a4-d01e-4ce5-a48f-217f204e0fa3</title></pubsub></data>

2020-10-09 23:03:15 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-10-09 23:03:16 | [Mutex] waiting for: [received:nodes:da4a267a-c5fa-47ab-b96a-380d7fe7aeee:localhost]

2020-10-09 23:03:16 | [Mutex] waiting for: [received:nodes:da4a267a-c5fa-47ab-b96a-380d7fe7aeee:localhost]

2020-10-09 23:03:16 | [Mutex] received everything.

2020-10-09 23:03:16 | [Mutex] isItemNotified: received:node:da4a267a-c5fa-47ab-b96a-380d7fe7aeee:localhost:node-d95f84a4-d01e-4ce5-a48f-217f204e0fa3:Node d95f84a4-d01e-4ce5-a48f-217f204e0fa3 :: true

deleteNodes 1.022s
2020-10-09 23:03:21 |

2020-10-09 23:03:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-09 23:03:21 | ------------------------------------

2020-10-09 23:03:21 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d95f84a4-d01e-4ce5-a48f-217f204e0fa3</node></data>

2020-10-09 23:03:21 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-10-09 23:03:22 | [Mutex] waiting for: [received:nodes:346b5f66-1219-4780-89fb-d2e3ee6125cc:localhost]

2020-10-09 23:03:22 | [Mutex] waiting for: [received:nodes:346b5f66-1219-4780-89fb-d2e3ee6125cc:localhost]

2020-10-09 23:03:22 | [Mutex] received everything.

2020-10-09 23:03:22 | [Mutex] isItemNotified: received:node:346b5f66-1219-4780-89fb-d2e3ee6125cc:localhost:node-d95f84a4-d01e-4ce5-a48f-217f204e0fa3:Node d95f84a4-d01e-4ce5-a48f-217f204e0fa3 :: false

deleteSubnodes 1.151s
2020-10-09 23:03:20 |

2020-10-09 23:03:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-09 23:03:20 | ------------------------------------

2020-10-09 23:03:20 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-64862f50-27b0-4248-8a46-2e681ad376cb</node></data>

2020-10-09 23:03:20 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-10-09 23:03:21 | [Mutex] waiting for: [received:nodes:41962492-fa7f-4871-ac56-4b9e69dbfccc:localhost]

2020-10-09 23:03:21 | [Mutex] waiting for: [received:nodes:41962492-fa7f-4871-ac56-4b9e69dbfccc:localhost]

2020-10-09 23:03:21 | [Mutex] received everything.

2020-10-09 23:03:21 | [Mutex] isItemNotified: received:node:41962492-fa7f-4871-ac56-4b9e69dbfccc:localhost:node-64862f50-27b0-4248-8a46-2e681ad376cb:Node 64862f50-27b0-4248-8a46-2e681ad376cb :: false

2020-10-09 23:03:21 | [Mutex] waiting for: [received:nodes:73f4646f-fac0-4271-b2b4-a7a7a9b30e24:localhost]

2020-10-09 23:03:21 | [Mutex] received everything.

2020-10-09 23:03:21 | [Mutex] isItemNotified: received:node:73f4646f-fac0-4271-b2b4-a7a7a9b30e24:localhost:node-64862f50-27b0-4248-8a46-2e681ad376cb:Node 64862f50-27b0-4248-8a46-2e681ad376cb :: false

publishItemsToNodes 0.200s
2020-10-09 23:03:18 |

2020-10-09 23:03:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-09 23:03:18 | ------------------------------------

2020-10-09 23:03:18 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-64862f50-27b0-4248-8a46-2e681ad376cb</node><item-id>item-765871c8-3a96-463c-8e79-a64ab71ed7a3</item-id><entry><test>item-765871c8-3a96-463c-8e79-a64ab71ed7a3</test></entry></data>

2020-10-09 23:03:18 | 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-765871c8-3a96-463c-8e79-a64ab71ed7a3</value></item-id></result>

2020-10-09 23:03:18 | [Mutex] waiting for: [published:item:notifieditem-765871c8-3a96-463c-8e79-a64ab71ed7a3:admin@test-domain.com]

2020-10-09 23:03:18 | [Mutex] received everything.

2020-10-09 23:03:18 | [Mutex] isItemNotified: published:item:notifieditem-765871c8-3a96-463c-8e79-a64ab71ed7a3:admin@test-domain.com :: true

retractItemsFromNodes 0.296s
2020-10-09 23:03:19 |

2020-10-09 23:03:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-09 23:03:19 | ------------------------------------

2020-10-09 23:03:19 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-64862f50-27b0-4248-8a46-2e681ad376cb</node><item-id>item-765871c8-3a96-463c-8e79-a64ab71ed7a3</item-id></data>

2020-10-09 23:03:19 | 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-765871c8-3a96-463c-8e79-a64ab71ed7a3</value></item-id></result>

2020-10-09 23:03:19 | [Mutex] received everything.

2020-10-09 23:03:19 | [Mutex] isItemNotified: retracted:item:notifieditem-765871c8-3a96-463c-8e79-a64ab71ed7a3:admin@test-domain.com :: true

retrieveItemsFromNodes 0.180s
2020-10-09 23:03:18 |

2020-10-09 23:03:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-09 23:03:18 | ------------------------------------

2020-10-09 23:03:18 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-64862f50-27b0-4248-8a46-2e681ad376cb</node><item-id>item-765871c8-3a96-463c-8e79-a64ab71ed7a3</item-id></data>

2020-10-09 23:03:18 | 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-64862f50-27b0-4248-8a46-2e681ad376cb</value></node><item-id label="Item ID" type="text-single"><value>item-765871c8-3a96-463c-8e79-a64ab71ed7a3</value></item-id><item label="Item" type="text-multi"><value><item id="item-765871c8-3a96-463c-8e79-a64ab71ed7a3"><test>item-765871c8-3a96-463c-8e79-a64ab71ed7a3</test></item></value></item></result>

2020-10-09 23:03:18 | [Mutex] notify: [retrieved:item:item-765871c8-3a96-463c-8e79-a64ab71ed7a3:payload-matches:true:localhost]

2020-10-09 23:03:18 | [Mutex] received everything.

2020-10-09 23:03:18 | [Mutex] isItemNotified: retrieved:item:item-765871c8-3a96-463c-8e79-a64ab71ed7a3:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.049s
2020-10-09 23:03:18 |

2020-10-09 23:03:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-09 23:03:18 | ------------------------------------

2020-10-09 23:03:18 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-10-09 23:03:19 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-64862f50-27b0-4248-8a46-2e681ad376cb</value><value>test</value><value>node-d95f84a4-d01e-4ce5-a48f-217f204e0fa3</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2020-10-09 23:03:19 |

2020-10-09 23:03:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-09 23:03:19 | ------------------------------------

2020-10-09 23:03:19 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-64862f50-27b0-4248-8a46-2e681ad376cb)</node-pattern></data>

2020-10-09 23:03:19 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.091s
2020-10-09 23:03:17 |

2020-10-09 23:03:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-09 23:03:17 | ------------------------------------

2020-10-09 23:03:17 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-64862f50-27b0-4248-8a46-2e681ad376cb</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.248s
2020-10-09 23:03:19 |

2020-10-09 23:03:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-09 23:03:19 | ------------------------------------

2020-10-09 23:03:19 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-64862f50-27b0-4248-8a46-2e681ad376cb</node><jids><value>admin@test-domain.com</value></jids></data>

2020-10-09 23:03:19 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>