Generated by TestNG with ReportNG at 22:33 PDT on Thursday 18 March 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.249s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.153s
2021-03-18 22:48:24 |

2021-03-18 22:48:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-18 22:48:24 | ------------------------------------

2021-03-18 22:48:24 | [Mutex] waiting for: [configured:node:node-e65912fa-9746-4b95-80b3-3032ccfdb3a9:node-3d58de2f-e130-4ef5-913d-24e52146cf46]

2021-03-18 22:48:25 | [Mutex] received everything.

2021-03-18 22:48:25 | [Mutex] isItemNotified: configured:node:node-e65912fa-9746-4b95-80b3-3032ccfdb3a9:node-3d58de2f-e130-4ef5-913d-24e52146cf46 :: true

2021-03-18 22:48:26 | [Mutex] waiting for: [received:nodes:afcd7673-30c5-4219-a737-bacda9718845:localhost]

2021-03-18 22:48:26 | [Mutex] received everything.

2021-03-18 22:48:26 | [Mutex] isItemNotified: received:node:afcd7673-30c5-4219-a737-bacda9718845:localhost:node-e65912fa-9746-4b95-80b3-3032ccfdb3a9:Node e65912fa-9746-4b95-80b3-3032ccfdb3a9 :: true

2021-03-18 22:48:26 | [Mutex] waiting for: [received:nodes:ad366d52-049f-4796-9ffd-59252cc7a715:localhost]

2021-03-18 22:48:26 | [Mutex] received everything.

2021-03-18 22:48:26 | [Mutex] isItemNotified: received:node:ad366d52-049f-4796-9ffd-59252cc7a715:localhost:node-e65912fa-9746-4b95-80b3-3032ccfdb3a9:Node e65912fa-9746-4b95-80b3-3032ccfdb3a9 :: false

createNodes 1.448s
2021-03-18 22:48:22 |

2021-03-18 22:48:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-18 22:48:22 | ------------------------------------

2021-03-18 22:48:22 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-e65912fa-9746-4b95-80b3-3032ccfdb3a9</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node e65912fa-9746-4b95-80b3-3032ccfdb3a9</title></pubsub></data>

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

2021-03-18 22:48:23 | [Mutex] waiting for: [received:nodes:37b810ea-587c-4d32-8336-aa575241f3bc:localhost]

2021-03-18 22:48:23 | [Mutex] waiting for: [received:nodes:37b810ea-587c-4d32-8336-aa575241f3bc:localhost]

2021-03-18 22:48:23 | [Mutex] waiting for: [received:nodes:37b810ea-587c-4d32-8336-aa575241f3bc:localhost]

2021-03-18 22:48:23 | [Mutex] received everything.

2021-03-18 22:48:23 | [Mutex] isItemNotified: received:node:37b810ea-587c-4d32-8336-aa575241f3bc:localhost:node-e65912fa-9746-4b95-80b3-3032ccfdb3a9:Node e65912fa-9746-4b95-80b3-3032ccfdb3a9 :: true

createSubnodes 1.035s
2021-03-18 22:48:23 |

2021-03-18 22:48:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-18 22:48:23 | ------------------------------------

2021-03-18 22:48:23 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-3d58de2f-e130-4ef5-913d-24e52146cf46</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 3d58de2f-e130-4ef5-913d-24e52146cf46</title></pubsub></data>

2021-03-18 22:48:23 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-18 22:48:24 | [Mutex] waiting for: [received:nodes:4b80bf11-8bd8-473d-bf41-b085090861c3:localhost]

2021-03-18 22:48:24 | [Mutex] waiting for: [received:nodes:4b80bf11-8bd8-473d-bf41-b085090861c3:localhost]

2021-03-18 22:48:24 | [Mutex] received everything.

2021-03-18 22:48:24 | [Mutex] isItemNotified: received:node:4b80bf11-8bd8-473d-bf41-b085090861c3:localhost:node-3d58de2f-e130-4ef5-913d-24e52146cf46:Node 3d58de2f-e130-4ef5-913d-24e52146cf46 :: true

deleteNodes 1.023s
2021-03-18 22:48:30 |

2021-03-18 22:48:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-18 22:48:30 | ------------------------------------

2021-03-18 22:48:30 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-3d58de2f-e130-4ef5-913d-24e52146cf46</node></data>

2021-03-18 22:48:30 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-18 22:48:31 | [Mutex] waiting for: [received:nodes:2bbf919d-06b8-425d-abb0-df8962004bd4:localhost]

2021-03-18 22:48:31 | [Mutex] received everything.

2021-03-18 22:48:31 | [Mutex] isItemNotified: received:node:2bbf919d-06b8-425d-abb0-df8962004bd4:localhost:node-3d58de2f-e130-4ef5-913d-24e52146cf46:Node 3d58de2f-e130-4ef5-913d-24e52146cf46 :: false

deleteSubnodes 1.167s
2021-03-18 22:48:29 |

2021-03-18 22:48:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-18 22:48:29 | ------------------------------------

2021-03-18 22:48:29 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-e65912fa-9746-4b95-80b3-3032ccfdb3a9</node></data>

2021-03-18 22:48:29 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-18 22:48:30 | [Mutex] waiting for: [received:nodes:424e1879-78f8-471a-836a-19551ce3c9db:localhost]

2021-03-18 22:48:30 | [Mutex] waiting for: [received:nodes:424e1879-78f8-471a-836a-19551ce3c9db:localhost]

2021-03-18 22:48:30 | [Mutex] received everything.

2021-03-18 22:48:30 | [Mutex] isItemNotified: received:node:424e1879-78f8-471a-836a-19551ce3c9db:localhost:node-e65912fa-9746-4b95-80b3-3032ccfdb3a9:Node e65912fa-9746-4b95-80b3-3032ccfdb3a9 :: false

2021-03-18 22:48:30 | [Mutex] waiting for: [received:nodes:b144dc16-87f0-4fd2-b2d1-a7a0788a9ed2:localhost]

2021-03-18 22:48:30 | [Mutex] received everything.

2021-03-18 22:48:30 | [Mutex] isItemNotified: received:node:b144dc16-87f0-4fd2-b2d1-a7a0788a9ed2:localhost:node-e65912fa-9746-4b95-80b3-3032ccfdb3a9:Node e65912fa-9746-4b95-80b3-3032ccfdb3a9 :: false

publishItemsToNodes 0.287s
2021-03-18 22:48:27 |

2021-03-18 22:48:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-18 22:48:27 | ------------------------------------

2021-03-18 22:48:27 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-e65912fa-9746-4b95-80b3-3032ccfdb3a9</node><item-id>item-ce5fe161-b57d-4e79-bea3-f19f6be60517</item-id><entry><test>item-ce5fe161-b57d-4e79-bea3-f19f6be60517</test></entry></data>

2021-03-18 22:48: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-ce5fe161-b57d-4e79-bea3-f19f6be60517</value></item-id></result>

2021-03-18 22:48:27 | [Mutex] received everything.

2021-03-18 22:48:27 | [Mutex] isItemNotified: published:item:notifieditem-ce5fe161-b57d-4e79-bea3-f19f6be60517:admin@test-domain.com :: true

retractItemsFromNodes 0.207s
2021-03-18 22:48:27 |

2021-03-18 22:48:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-18 22:48:27 | ------------------------------------

2021-03-18 22:48:27 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-e65912fa-9746-4b95-80b3-3032ccfdb3a9</node><item-id>item-ce5fe161-b57d-4e79-bea3-f19f6be60517</item-id></data>

2021-03-18 22:48: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-ce5fe161-b57d-4e79-bea3-f19f6be60517</value></item-id></result>

2021-03-18 22:48:28 | [Mutex] received everything.

2021-03-18 22:48:28 | [Mutex] isItemNotified: retracted:item:notifieditem-ce5fe161-b57d-4e79-bea3-f19f6be60517:admin@test-domain.com :: true

retrieveItemsFromNodes 0.323s
2021-03-18 22:48:27 |

2021-03-18 22:48:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-18 22:48:27 | ------------------------------------

2021-03-18 22:48:27 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-e65912fa-9746-4b95-80b3-3032ccfdb3a9</node><item-id>item-ce5fe161-b57d-4e79-bea3-f19f6be60517</item-id></data>

2021-03-18 22:48: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-e65912fa-9746-4b95-80b3-3032ccfdb3a9</value></node><item-id label="Item ID" type="text-single"><value>item-ce5fe161-b57d-4e79-bea3-f19f6be60517</value></item-id><item label="Item" type="text-multi"><value><item id="item-ce5fe161-b57d-4e79-bea3-f19f6be60517"><test>item-ce5fe161-b57d-4e79-bea3-f19f6be60517</test></item></value></item></result>

2021-03-18 22:48:27 | [Mutex] notify: [retrieved:item:item-ce5fe161-b57d-4e79-bea3-f19f6be60517:payload-matches:true:localhost]

2021-03-18 22:48:27 | [Mutex] received everything.

2021-03-18 22:48:27 | [Mutex] isItemNotified: retrieved:item:item-ce5fe161-b57d-4e79-bea3-f19f6be60517:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.051s
2021-03-18 22:48:27 |

2021-03-18 22:48:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-18 22:48:27 | ------------------------------------

2021-03-18 22:48:27 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-03-18 22:48: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-e65912fa-9746-4b95-80b3-3032ccfdb3a9</value><value>node-3d58de2f-e130-4ef5-913d-24e52146cf46</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-03-18 22:48:27 |

2021-03-18 22:48:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-18 22:48:27 | ------------------------------------

2021-03-18 22:48: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-e65912fa-9746-4b95-80b3-3032ccfdb3a9)</node-pattern></data>

2021-03-18 22:48:27 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.122s
2021-03-18 22:48:26 |

2021-03-18 22:48:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-18 22:48:26 | ------------------------------------

2021-03-18 22:48:26 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-e65912fa-9746-4b95-80b3-3032ccfdb3a9</node><jids><value>admin@test-domain.com</value></jids></data>

2021-03-18 22:48: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.343s
2021-03-18 22:48:28 |

2021-03-18 22:48:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-18 22:48:28 | ------------------------------------

2021-03-18 22:48:28 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-e65912fa-9746-4b95-80b3-3032ccfdb3a9</node><jids><value>admin@test-domain.com</value></jids></data>

2021-03-18 22:48:28 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>