Generated by TestNG with ReportNG at 21:14 PST on Sunday 14 February 2021
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.920s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.119s
2021-02-14 21:32:03 |

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

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

2021-02-14 21:32:03 | [Mutex] waiting for: [configured:node:node-827f0f9a-1d6f-4413-94d4-1bf231530ebe:node-fae395b6-5d9e-4ae6-8cd4-4b7d8cdaaa24]

2021-02-14 21:32:03 | [Mutex] received everything.

2021-02-14 21:32:03 | [Mutex] isItemNotified: configured:node:node-827f0f9a-1d6f-4413-94d4-1bf231530ebe:node-fae395b6-5d9e-4ae6-8cd4-4b7d8cdaaa24 :: true

2021-02-14 21:32:04 | [Mutex] waiting for: [received:nodes:c079bb0f-ba46-4a85-9072-4302c6856679:localhost]

2021-02-14 21:32:04 | [Mutex] received everything.

2021-02-14 21:32:04 | [Mutex] isItemNotified: received:node:c079bb0f-ba46-4a85-9072-4302c6856679:localhost:node-827f0f9a-1d6f-4413-94d4-1bf231530ebe:Node 827f0f9a-1d6f-4413-94d4-1bf231530ebe :: true

2021-02-14 21:32:04 | [Mutex] waiting for: [received:nodes:3a3187cd-f6c1-4412-8d8b-8e0c72263a9e:localhost]

2021-02-14 21:32:04 | [Mutex] waiting for: [received:nodes:3a3187cd-f6c1-4412-8d8b-8e0c72263a9e:localhost]

2021-02-14 21:32:04 | [Mutex] received everything.

2021-02-14 21:32:04 | [Mutex] isItemNotified: received:node:3a3187cd-f6c1-4412-8d8b-8e0c72263a9e:localhost:node-827f0f9a-1d6f-4413-94d4-1bf231530ebe:Node 827f0f9a-1d6f-4413-94d4-1bf231530ebe :: false

createNodes 1.429s
2021-02-14 21:32:00 |

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

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

2021-02-14 21:32:00 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-827f0f9a-1d6f-4413-94d4-1bf231530ebe</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 827f0f9a-1d6f-4413-94d4-1bf231530ebe</title></pubsub></data>

2021-02-14 21:32:01 | 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:32:02 | [Mutex] waiting for: [received:nodes:6cdada52-7c2e-41b2-b531-290ef5accaec:localhost]

2021-02-14 21:32:02 | [Mutex] waiting for: [received:nodes:6cdada52-7c2e-41b2-b531-290ef5accaec:localhost]

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

2021-02-14 21:32:02 | [Mutex] isItemNotified: received:node:6cdada52-7c2e-41b2-b531-290ef5accaec:localhost:node-827f0f9a-1d6f-4413-94d4-1bf231530ebe:Node 827f0f9a-1d6f-4413-94d4-1bf231530ebe :: true

createSubnodes 1.026s
2021-02-14 21:32:02 |

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

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

2021-02-14 21:32:02 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-fae395b6-5d9e-4ae6-8cd4-4b7d8cdaaa24</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node fae395b6-5d9e-4ae6-8cd4-4b7d8cdaaa24</title></pubsub></data>

2021-02-14 21:32:02 | 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:32:03 | [Mutex] waiting for: [received:nodes:24863502-e23c-4e60-b04a-ce8d0fe3c8ee:localhost]

2021-02-14 21:32:03 | [Mutex] received everything.

2021-02-14 21:32:03 | [Mutex] isItemNotified: received:node:24863502-e23c-4e60-b04a-ce8d0fe3c8ee:localhost:node-fae395b6-5d9e-4ae6-8cd4-4b7d8cdaaa24:Node fae395b6-5d9e-4ae6-8cd4-4b7d8cdaaa24 :: true

deleteNodes 1.018s
2021-02-14 21:32:08 |

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

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

2021-02-14 21:32:08 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-fae395b6-5d9e-4ae6-8cd4-4b7d8cdaaa24</node></data>

2021-02-14 21:32:08 | 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:32:09 | [Mutex] waiting for: [received:nodes:15454f04-41b2-4f80-83da-278d0bde3a7f:localhost]

2021-02-14 21:32:09 | [Mutex] received everything.

2021-02-14 21:32:09 | [Mutex] isItemNotified: received:node:15454f04-41b2-4f80-83da-278d0bde3a7f:localhost:node-fae395b6-5d9e-4ae6-8cd4-4b7d8cdaaa24:Node fae395b6-5d9e-4ae6-8cd4-4b7d8cdaaa24 :: false

deleteSubnodes 1.127s
2021-02-14 21:32:07 |

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

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

2021-02-14 21:32:07 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-827f0f9a-1d6f-4413-94d4-1bf231530ebe</node></data>

2021-02-14 21:32:07 | 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:32:08 | [Mutex] waiting for: [received:nodes:54e262a5-bd78-4c7e-bca7-d8f5233b6708:localhost]

2021-02-14 21:32:08 | [Mutex] waiting for: [received:nodes:54e262a5-bd78-4c7e-bca7-d8f5233b6708:localhost]

2021-02-14 21:32:08 | [Mutex] received everything.

2021-02-14 21:32:08 | [Mutex] isItemNotified: received:node:54e262a5-bd78-4c7e-bca7-d8f5233b6708:localhost:node-827f0f9a-1d6f-4413-94d4-1bf231530ebe:Node 827f0f9a-1d6f-4413-94d4-1bf231530ebe :: false

2021-02-14 21:32:08 | [Mutex] waiting for: [received:nodes:88099fc5-3b5a-4418-871a-6a0ca83833d9:localhost]

2021-02-14 21:32:08 | [Mutex] received everything.

2021-02-14 21:32:08 | [Mutex] isItemNotified: received:node:88099fc5-3b5a-4418-871a-6a0ca83833d9:localhost:node-827f0f9a-1d6f-4413-94d4-1bf231530ebe:Node 827f0f9a-1d6f-4413-94d4-1bf231530ebe :: false

publishItemsToNodes 0.200s
2021-02-14 21:32:05 |

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

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

2021-02-14 21:32:05 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-827f0f9a-1d6f-4413-94d4-1bf231530ebe</node><item-id>item-2a7b7d44-d2ea-428a-83d4-f8c473c5f91b</item-id><entry><test>item-2a7b7d44-d2ea-428a-83d4-f8c473c5f91b</test></entry></data>

2021-02-14 21:32:05 | 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-2a7b7d44-d2ea-428a-83d4-f8c473c5f91b</value></item-id></result>

2021-02-14 21:32:05 | [Mutex] received everything.

2021-02-14 21:32:05 | [Mutex] isItemNotified: published:item:notifieditem-2a7b7d44-d2ea-428a-83d4-f8c473c5f91b:admin@test-domain.com :: true

retractItemsFromNodes 0.326s
2021-02-14 21:32:05 |

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

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

2021-02-14 21:32:05 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-827f0f9a-1d6f-4413-94d4-1bf231530ebe</node><item-id>item-2a7b7d44-d2ea-428a-83d4-f8c473c5f91b</item-id></data>

2021-02-14 21:32:06 | 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-2a7b7d44-d2ea-428a-83d4-f8c473c5f91b</value></item-id></result>

2021-02-14 21:32:06 | [Mutex] waiting for: [retracted:item:notifieditem-2a7b7d44-d2ea-428a-83d4-f8c473c5f91b:admin@test-domain.com]

2021-02-14 21:32:06 | [Mutex] received everything.

2021-02-14 21:32:06 | [Mutex] isItemNotified: retracted:item:notifieditem-2a7b7d44-d2ea-428a-83d4-f8c473c5f91b:admin@test-domain.com :: true

retrieveItemsFromNodes 0.272s
2021-02-14 21:32:05 |

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

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

2021-02-14 21:32:05 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-827f0f9a-1d6f-4413-94d4-1bf231530ebe</node><item-id>item-2a7b7d44-d2ea-428a-83d4-f8c473c5f91b</item-id></data>

2021-02-14 21:32:05 | 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-827f0f9a-1d6f-4413-94d4-1bf231530ebe</value></node><item-id label="Item ID" type="text-single"><value>item-2a7b7d44-d2ea-428a-83d4-f8c473c5f91b</value></item-id><item label="Item" type="text-multi"><value><item id="item-2a7b7d44-d2ea-428a-83d4-f8c473c5f91b"><test>item-2a7b7d44-d2ea-428a-83d4-f8c473c5f91b</test></item></value></item></result>

2021-02-14 21:32:05 | [Mutex] notify: [retrieved:item:item-2a7b7d44-d2ea-428a-83d4-f8c473c5f91b:payload-matches:true:localhost]

2021-02-14 21:32:05 | [Mutex] received everything.

2021-02-14 21:32:05 | [Mutex] isItemNotified: retrieved:item:item-2a7b7d44-d2ea-428a-83d4-f8c473c5f91b:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-02-14 21:32:05 |

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

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

2021-02-14 21:32:05 | 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:32:05 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-827f0f9a-1d6f-4413-94d4-1bf231530ebe</value><value>node-fae395b6-5d9e-4ae6-8cd4-4b7d8cdaaa24</value><value>test</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.057s
2021-02-14 21:32:05 |

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

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

2021-02-14 21:32:05 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-827f0f9a-1d6f-4413-94d4-1bf231530ebe)</node-pattern></data>

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

subscribeNodes 1.110s
2021-02-14 21:32:04 |

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

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

2021-02-14 21:32:04 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-827f0f9a-1d6f-4413-94d4-1bf231530ebe</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.244s
2021-02-14 21:32:06 |

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

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

2021-02-14 21:32:06 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-827f0f9a-1d6f-4413-94d4-1bf231530ebe</node><jids><value>admin@test-domain.com</value></jids></data>

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