Generated by TestNG with ReportNG at 23:29 PDT on Tuesday 15 September 2020
root@b111a435ccb0 / 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.102s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.096s
2020-09-15 23:44:17 |

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

2020-09-15 23:44:17 | ------------------------------------

2020-09-15 23:44:17 | [Mutex] waiting for: [configured:node:node-28842d00-24b6-492e-a99e-30885222cf9d:node-916688b1-f79b-42f8-8143-5154141714b5]

2020-09-15 23:44:18 | [Mutex] received everything.

2020-09-15 23:44:18 | [Mutex] isItemNotified: configured:node:node-28842d00-24b6-492e-a99e-30885222cf9d:node-916688b1-f79b-42f8-8143-5154141714b5 :: true

2020-09-15 23:44:19 | [Mutex] waiting for: [received:nodes:154d6414-cf1f-47e2-a993-3bef4dcb2de9:localhost]

2020-09-15 23:44:19 | [Mutex] received everything.

2020-09-15 23:44:19 | [Mutex] isItemNotified: received:node:154d6414-cf1f-47e2-a993-3bef4dcb2de9:localhost:node-28842d00-24b6-492e-a99e-30885222cf9d:Node 28842d00-24b6-492e-a99e-30885222cf9d :: true

2020-09-15 23:44:19 | [Mutex] waiting for: [received:nodes:3e176df2-1071-4dff-ba78-690d3bf520db:localhost]

2020-09-15 23:44:19 | [Mutex] received everything.

2020-09-15 23:44:19 | [Mutex] isItemNotified: received:node:3e176df2-1071-4dff-ba78-690d3bf520db:localhost:node-28842d00-24b6-492e-a99e-30885222cf9d:Node 28842d00-24b6-492e-a99e-30885222cf9d :: false

createNodes 1.535s
2020-09-15 23:44:15 |

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

2020-09-15 23:44:15 | ------------------------------------

2020-09-15 23:44:15 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-28842d00-24b6-492e-a99e-30885222cf9d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 28842d00-24b6-492e-a99e-30885222cf9d</title></pubsub></data>

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

2020-09-15 23:44:16 | [Mutex] waiting for: [received:nodes:474524b0-4ef3-40ab-a01e-8e13767bbf5a:localhost]

2020-09-15 23:44:16 | [Mutex] waiting for: [received:nodes:474524b0-4ef3-40ab-a01e-8e13767bbf5a:localhost]

2020-09-15 23:44:16 | [Mutex] received everything.

2020-09-15 23:44:16 | [Mutex] isItemNotified: received:node:474524b0-4ef3-40ab-a01e-8e13767bbf5a:localhost:node-28842d00-24b6-492e-a99e-30885222cf9d:Node 28842d00-24b6-492e-a99e-30885222cf9d :: true

createSubnodes 1.024s
2020-09-15 23:44:16 |

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

2020-09-15 23:44:16 | ------------------------------------

2020-09-15 23:44:16 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-916688b1-f79b-42f8-8143-5154141714b5</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 916688b1-f79b-42f8-8143-5154141714b5</title></pubsub></data>

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

2020-09-15 23:44:17 | [Mutex] waiting for: [received:nodes:85603a69-b137-4a06-98b0-3bf67fb71ed4:localhost]

2020-09-15 23:44:17 | [Mutex] received everything.

2020-09-15 23:44:17 | [Mutex] isItemNotified: received:node:85603a69-b137-4a06-98b0-3bf67fb71ed4:localhost:node-916688b1-f79b-42f8-8143-5154141714b5:Node 916688b1-f79b-42f8-8143-5154141714b5 :: true

deleteNodes 1.020s
2020-09-15 23:44:23 |

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

2020-09-15 23:44:23 | ------------------------------------

2020-09-15 23:44:23 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-916688b1-f79b-42f8-8143-5154141714b5</node></data>

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

2020-09-15 23:44:24 | [Mutex] waiting for: [received:nodes:36bb56f2-e7a4-4c8b-90a1-296b8da53912:localhost]

2020-09-15 23:44:24 | [Mutex] received everything.

2020-09-15 23:44:24 | [Mutex] isItemNotified: received:node:36bb56f2-e7a4-4c8b-90a1-296b8da53912:localhost:node-916688b1-f79b-42f8-8143-5154141714b5:Node 916688b1-f79b-42f8-8143-5154141714b5 :: false

deleteSubnodes 1.169s
2020-09-15 23:44:22 |

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

2020-09-15 23:44:22 | ------------------------------------

2020-09-15 23:44:22 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-28842d00-24b6-492e-a99e-30885222cf9d</node></data>

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

2020-09-15 23:44:23 | [Mutex] waiting for: [received:nodes:63eefe91-d226-45dd-aaf2-f2ee8e545ff6:localhost]

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

2020-09-15 23:44:23 | [Mutex] isItemNotified: received:node:63eefe91-d226-45dd-aaf2-f2ee8e545ff6:localhost:node-28842d00-24b6-492e-a99e-30885222cf9d:Node 28842d00-24b6-492e-a99e-30885222cf9d :: false

2020-09-15 23:44:23 | [Mutex] waiting for: [received:nodes:d5f15cd0-9b3a-4bbb-9a55-295504111f13:localhost]

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

2020-09-15 23:44:23 | [Mutex] isItemNotified: received:node:d5f15cd0-9b3a-4bbb-9a55-295504111f13:localhost:node-28842d00-24b6-492e-a99e-30885222cf9d:Node 28842d00-24b6-492e-a99e-30885222cf9d :: false

publishItemsToNodes 0.167s
2020-09-15 23:44:20 |

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

2020-09-15 23:44:20 | ------------------------------------

2020-09-15 23:44:20 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-28842d00-24b6-492e-a99e-30885222cf9d</node><item-id>item-b4c82db2-3133-4e50-a1b8-7eab0697b036</item-id><entry><test>item-b4c82db2-3133-4e50-a1b8-7eab0697b036</test></entry></data>

2020-09-15 23:44:20 | 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-b4c82db2-3133-4e50-a1b8-7eab0697b036</value></item-id></result>

2020-09-15 23:44:20 | [Mutex] received everything.

2020-09-15 23:44:20 | [Mutex] isItemNotified: published:item:notifieditem-b4c82db2-3133-4e50-a1b8-7eab0697b036:admin@test-domain.com :: true

retractItemsFromNodes 0.219s
2020-09-15 23:44:20 |

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

2020-09-15 23:44:20 | ------------------------------------

2020-09-15 23:44:20 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-28842d00-24b6-492e-a99e-30885222cf9d</node><item-id>item-b4c82db2-3133-4e50-a1b8-7eab0697b036</item-id></data>

2020-09-15 23:44:20 | 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-b4c82db2-3133-4e50-a1b8-7eab0697b036</value></item-id></result>

2020-09-15 23:44:20 | [Mutex] received everything.

2020-09-15 23:44:20 | [Mutex] isItemNotified: retracted:item:notifieditem-b4c82db2-3133-4e50-a1b8-7eab0697b036:admin@test-domain.com :: true

retrieveItemsFromNodes 0.217s
2020-09-15 23:44:20 |

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

2020-09-15 23:44:20 | ------------------------------------

2020-09-15 23:44:20 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-28842d00-24b6-492e-a99e-30885222cf9d</node><item-id>item-b4c82db2-3133-4e50-a1b8-7eab0697b036</item-id></data>

2020-09-15 23:44:20 | 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-28842d00-24b6-492e-a99e-30885222cf9d</value></node><item-id label="Item ID" type="text-single"><value>item-b4c82db2-3133-4e50-a1b8-7eab0697b036</value></item-id><item label="Item" type="text-multi"><value><item id="item-b4c82db2-3133-4e50-a1b8-7eab0697b036"><test>item-b4c82db2-3133-4e50-a1b8-7eab0697b036</test></item></value></item></result>

2020-09-15 23:44:20 | [Mutex] notify: [retrieved:item:item-b4c82db2-3133-4e50-a1b8-7eab0697b036:payload-matches:true:localhost]

2020-09-15 23:44:20 | [Mutex] received everything.

2020-09-15 23:44:20 | [Mutex] isItemNotified: retrieved:item:item-b4c82db2-3133-4e50-a1b8-7eab0697b036:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.048s
2020-09-15 23:44:20 |

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

2020-09-15 23:44:20 | ------------------------------------

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

2020-09-15 23:44:20 | 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-28842d00-24b6-492e-a99e-30885222cf9d</value><value>node-916688b1-f79b-42f8-8143-5154141714b5</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2020-09-15 23:44:20 |

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

2020-09-15 23:44:20 | ------------------------------------

2020-09-15 23:44:20 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-28842d00-24b6-492e-a99e-30885222cf9d)</node-pattern></data>

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

subscribeNodes 1.189s
2020-09-15 23:44:19 |

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

2020-09-15 23:44:19 | ------------------------------------

2020-09-15 23:44:19 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-28842d00-24b6-492e-a99e-30885222cf9d</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.283s
2020-09-15 23:44:20 |

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

2020-09-15 23:44:20 | ------------------------------------

2020-09-15 23:44:20 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-28842d00-24b6-492e-a99e-30885222cf9d</node><jids><value>admin@test-domain.com</value></jids></data>

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