Generated by TestNG with ReportNG at 22:29 PDT on Thursday 13 May 2021
root@f29ef40080b5 / 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.184s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.135s
2021-05-13 22:44:40 |

2021-05-13 22:44:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-13 22:44:40 | ------------------------------------

2021-05-13 22:44:40 | [Mutex] waiting for: [configured:node:node-543fb1a3-f90b-4f87-9212-a5198bb9f2ce:node-d14565dc-4667-458b-a9de-62d5e7f394cc]

2021-05-13 22:44:40 | [Mutex] received everything.

2021-05-13 22:44:40 | [Mutex] isItemNotified: configured:node:node-543fb1a3-f90b-4f87-9212-a5198bb9f2ce:node-d14565dc-4667-458b-a9de-62d5e7f394cc :: true

2021-05-13 22:44:41 | [Mutex] waiting for: [received:nodes:8e7e54d0-862b-442f-ad39-6542e07ddb33:localhost]

2021-05-13 22:44:41 | [Mutex] received everything.

2021-05-13 22:44:41 | [Mutex] isItemNotified: received:node:8e7e54d0-862b-442f-ad39-6542e07ddb33:localhost:node-543fb1a3-f90b-4f87-9212-a5198bb9f2ce:Node 543fb1a3-f90b-4f87-9212-a5198bb9f2ce :: true

2021-05-13 22:44:41 | [Mutex] waiting for: [received:nodes:69588a67-7792-40cc-a392-ac8c66a088da:localhost]

2021-05-13 22:44:41 | [Mutex] received everything.

2021-05-13 22:44:41 | [Mutex] isItemNotified: received:node:69588a67-7792-40cc-a392-ac8c66a088da:localhost:node-543fb1a3-f90b-4f87-9212-a5198bb9f2ce:Node 543fb1a3-f90b-4f87-9212-a5198bb9f2ce :: false

createNodes 1.470s
2021-05-13 22:44:37 |

2021-05-13 22:44:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-13 22:44:37 | ------------------------------------

2021-05-13 22:44:37 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-543fb1a3-f90b-4f87-9212-a5198bb9f2ce</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 543fb1a3-f90b-4f87-9212-a5198bb9f2ce</title></pubsub></data>

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

2021-05-13 22:44:38 | [Mutex] waiting for: [received:nodes:de853bcf-f6c5-4f65-a602-9aabbbaeb51b:localhost]

2021-05-13 22:44:38 | [Mutex] received everything.

2021-05-13 22:44:38 | [Mutex] isItemNotified: received:node:de853bcf-f6c5-4f65-a602-9aabbbaeb51b:localhost:node-543fb1a3-f90b-4f87-9212-a5198bb9f2ce:Node 543fb1a3-f90b-4f87-9212-a5198bb9f2ce :: true

createSubnodes 1.035s
2021-05-13 22:44:38 |

2021-05-13 22:44:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-13 22:44:38 | ------------------------------------

2021-05-13 22:44:38 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d14565dc-4667-458b-a9de-62d5e7f394cc</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node d14565dc-4667-458b-a9de-62d5e7f394cc</title></pubsub></data>

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

2021-05-13 22:44:39 | [Mutex] waiting for: [received:nodes:d458eff6-980d-449e-968e-807ca5f7bc3d:localhost]

2021-05-13 22:44:40 | [Mutex] received everything.

2021-05-13 22:44:40 | [Mutex] isItemNotified: received:node:d458eff6-980d-449e-968e-807ca5f7bc3d:localhost:node-d14565dc-4667-458b-a9de-62d5e7f394cc:Node d14565dc-4667-458b-a9de-62d5e7f394cc :: true

deleteNodes 1.023s
2021-05-13 22:44:45 |

2021-05-13 22:44:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-13 22:44:45 | ------------------------------------

2021-05-13 22:44:45 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d14565dc-4667-458b-a9de-62d5e7f394cc</node></data>

2021-05-13 22:44:45 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-05-13 22:44:46 | [Mutex] waiting for: [received:nodes:fbd35f4f-0be8-4750-a527-4b324c27afd4:localhost]

2021-05-13 22:44:46 | [Mutex] received everything.

2021-05-13 22:44:46 | [Mutex] isItemNotified: received:node:fbd35f4f-0be8-4750-a527-4b324c27afd4:localhost:node-d14565dc-4667-458b-a9de-62d5e7f394cc:Node d14565dc-4667-458b-a9de-62d5e7f394cc :: false

deleteSubnodes 1.182s
2021-05-13 22:44:44 |

2021-05-13 22:44:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-13 22:44:44 | ------------------------------------

2021-05-13 22:44:44 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-543fb1a3-f90b-4f87-9212-a5198bb9f2ce</node></data>

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

2021-05-13 22:44:45 | [Mutex] waiting for: [received:nodes:194c8e1e-8863-41ed-8dc2-3230a162fc8d:localhost]

2021-05-13 22:44:45 | [Mutex] received everything.

2021-05-13 22:44:45 | [Mutex] isItemNotified: received:node:194c8e1e-8863-41ed-8dc2-3230a162fc8d:localhost:node-543fb1a3-f90b-4f87-9212-a5198bb9f2ce:Node 543fb1a3-f90b-4f87-9212-a5198bb9f2ce :: false

2021-05-13 22:44:45 | [Mutex] waiting for: [received:nodes:d06a0277-8507-4328-813d-5a7c5d2da266:localhost]

2021-05-13 22:44:45 | [Mutex] received everything.

2021-05-13 22:44:45 | [Mutex] isItemNotified: received:node:d06a0277-8507-4328-813d-5a7c5d2da266:localhost:node-543fb1a3-f90b-4f87-9212-a5198bb9f2ce:Node 543fb1a3-f90b-4f87-9212-a5198bb9f2ce :: false

publishItemsToNodes 0.229s
2021-05-13 22:44:42 |

2021-05-13 22:44:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-13 22:44:42 | ------------------------------------

2021-05-13 22:44:42 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-543fb1a3-f90b-4f87-9212-a5198bb9f2ce</node><item-id>item-587385cb-0782-4bbe-a2c0-51b56461c8f8</item-id><entry><test>item-587385cb-0782-4bbe-a2c0-51b56461c8f8</test></entry></data>

2021-05-13 22:44:42 | 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-587385cb-0782-4bbe-a2c0-51b56461c8f8</value></item-id></result>

2021-05-13 22:44:42 | [Mutex] waiting for: [published:item:notifieditem-587385cb-0782-4bbe-a2c0-51b56461c8f8:admin@test-domain.com]

2021-05-13 22:44:42 | [Mutex] received everything.

2021-05-13 22:44:42 | [Mutex] isItemNotified: published:item:notifieditem-587385cb-0782-4bbe-a2c0-51b56461c8f8:admin@test-domain.com :: true

retractItemsFromNodes 0.283s
2021-05-13 22:44:43 |

2021-05-13 22:44:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-13 22:44:43 | ------------------------------------

2021-05-13 22:44:43 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-543fb1a3-f90b-4f87-9212-a5198bb9f2ce</node><item-id>item-587385cb-0782-4bbe-a2c0-51b56461c8f8</item-id></data>

2021-05-13 22:44:43 | 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-587385cb-0782-4bbe-a2c0-51b56461c8f8</value></item-id></result>

2021-05-13 22:44:43 | [Mutex] received everything.

2021-05-13 22:44:43 | [Mutex] isItemNotified: retracted:item:notifieditem-587385cb-0782-4bbe-a2c0-51b56461c8f8:admin@test-domain.com :: true

retrieveItemsFromNodes 0.371s
2021-05-13 22:44:42 |

2021-05-13 22:44:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-13 22:44:42 | ------------------------------------

2021-05-13 22:44:42 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-543fb1a3-f90b-4f87-9212-a5198bb9f2ce</node><item-id>item-587385cb-0782-4bbe-a2c0-51b56461c8f8</item-id></data>

2021-05-13 22:44:42 | 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-543fb1a3-f90b-4f87-9212-a5198bb9f2ce</value></node><item-id label="Item ID" type="text-single"><value>item-587385cb-0782-4bbe-a2c0-51b56461c8f8</value></item-id><item label="Item" type="text-multi"><value><item id="item-587385cb-0782-4bbe-a2c0-51b56461c8f8"><test>item-587385cb-0782-4bbe-a2c0-51b56461c8f8</test></item></value></item></result>

2021-05-13 22:44:42 | [Mutex] notify: [retrieved:item:item-587385cb-0782-4bbe-a2c0-51b56461c8f8:payload-matches:true:localhost]

2021-05-13 22:44:42 | [Mutex] received everything.

2021-05-13 22:44:42 | [Mutex] isItemNotified: retrieved:item:item-587385cb-0782-4bbe-a2c0-51b56461c8f8:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-05-13 22:44:42 |

2021-05-13 22:44:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-13 22:44:42 | ------------------------------------

2021-05-13 22:44:42 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-05-13 22:44:42 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-543fb1a3-f90b-4f87-9212-a5198bb9f2ce</value><value>test</value><value>node-d14565dc-4667-458b-a9de-62d5e7f394cc</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-05-13 22:44:42 |

2021-05-13 22:44:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-13 22:44:42 | ------------------------------------

2021-05-13 22:44:42 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-543fb1a3-f90b-4f87-9212-a5198bb9f2ce)</node-pattern></data>

2021-05-13 22:44:43 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.164s
2021-05-13 22:44:41 |

2021-05-13 22:44:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-13 22:44:41 | ------------------------------------

2021-05-13 22:44:41 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-543fb1a3-f90b-4f87-9212-a5198bb9f2ce</node><jids><value>admin@test-domain.com</value></jids></data>

2021-05-13 22:44:41 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.295s
2021-05-13 22:44:43 |

2021-05-13 22:44:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-13 22:44:43 | ------------------------------------

2021-05-13 22:44:43 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-543fb1a3-f90b-4f87-9212-a5198bb9f2ce</node><jids><value>admin@test-domain.com</value></jids></data>

2021-05-13 22:44:43 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>