Generated by TestNG with ReportNG at 22:42 PDT on Friday 23 October 2020
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.311s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.113s
2020-10-23 22:59:45 |

2020-10-23 22:59:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-23 22:59:45 | ------------------------------------

2020-10-23 22:59:45 | [Mutex] waiting for: [configured:node:node-a199568d-d828-4bdc-bdd3-9adc9e5646b0:node-44a0f333-6921-45c5-a325-6ebdd2b0942b]

2020-10-23 22:59:45 | [Mutex] received everything.

2020-10-23 22:59:45 | [Mutex] isItemNotified: configured:node:node-a199568d-d828-4bdc-bdd3-9adc9e5646b0:node-44a0f333-6921-45c5-a325-6ebdd2b0942b :: true

2020-10-23 22:59:46 | [Mutex] waiting for: [received:nodes:4d50a32b-effc-4c40-90b7-99b72028d6ca:localhost]

2020-10-23 22:59:46 | [Mutex] received everything.

2020-10-23 22:59:46 | [Mutex] isItemNotified: received:node:4d50a32b-effc-4c40-90b7-99b72028d6ca:localhost:node-a199568d-d828-4bdc-bdd3-9adc9e5646b0:Node a199568d-d828-4bdc-bdd3-9adc9e5646b0 :: true

2020-10-23 22:59:46 | [Mutex] waiting for: [received:nodes:6b74e8ab-8261-4dd6-b662-24857db2f70f:localhost]

2020-10-23 22:59:46 | [Mutex] received everything.

2020-10-23 22:59:46 | [Mutex] isItemNotified: received:node:6b74e8ab-8261-4dd6-b662-24857db2f70f:localhost:node-a199568d-d828-4bdc-bdd3-9adc9e5646b0:Node a199568d-d828-4bdc-bdd3-9adc9e5646b0 :: false

createNodes 1.597s
2020-10-23 22:59:42 |

2020-10-23 22:59:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-23 22:59:42 | ------------------------------------

2020-10-23 22:59:42 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a199568d-d828-4bdc-bdd3-9adc9e5646b0</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node a199568d-d828-4bdc-bdd3-9adc9e5646b0</title></pubsub></data>

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

2020-10-23 22:59:44 | [Mutex] waiting for: [received:nodes:343dec6c-d22e-4eb1-b153-c2b6733c522e:localhost]

2020-10-23 22:59:44 | [Mutex] received everything.

2020-10-23 22:59:44 | [Mutex] isItemNotified: received:node:343dec6c-d22e-4eb1-b153-c2b6733c522e:localhost:node-a199568d-d828-4bdc-bdd3-9adc9e5646b0:Node a199568d-d828-4bdc-bdd3-9adc9e5646b0 :: true

createSubnodes 1.029s
2020-10-23 22:59:44 |

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

2020-10-23 22:59:44 | ------------------------------------

2020-10-23 22:59:44 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-44a0f333-6921-45c5-a325-6ebdd2b0942b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 44a0f333-6921-45c5-a325-6ebdd2b0942b</title></pubsub></data>

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

2020-10-23 22:59:45 | [Mutex] waiting for: [received:nodes:257418cb-9024-4365-9ab6-f0feb537e27c:localhost]

2020-10-23 22:59:45 | [Mutex] received everything.

2020-10-23 22:59:45 | [Mutex] isItemNotified: received:node:257418cb-9024-4365-9ab6-f0feb537e27c:localhost:node-44a0f333-6921-45c5-a325-6ebdd2b0942b:Node 44a0f333-6921-45c5-a325-6ebdd2b0942b :: true

deleteNodes 1.021s
2020-10-23 22:59:51 |

2020-10-23 22:59:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-23 22:59:51 | ------------------------------------

2020-10-23 22:59:51 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-44a0f333-6921-45c5-a325-6ebdd2b0942b</node></data>

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

2020-10-23 22:59:52 | [Mutex] waiting for: [received:nodes:eba9fec9-d4af-4cec-9c4d-d5bf7e4c3555:localhost]

2020-10-23 22:59:52 | [Mutex] received everything.

2020-10-23 22:59:52 | [Mutex] isItemNotified: received:node:eba9fec9-d4af-4cec-9c4d-d5bf7e4c3555:localhost:node-44a0f333-6921-45c5-a325-6ebdd2b0942b:Node 44a0f333-6921-45c5-a325-6ebdd2b0942b :: false

deleteSubnodes 1.167s
2020-10-23 22:59:49 |

2020-10-23 22:59:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-23 22:59:49 | ------------------------------------

2020-10-23 22:59:49 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a199568d-d828-4bdc-bdd3-9adc9e5646b0</node></data>

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

2020-10-23 22:59:51 | [Mutex] waiting for: [received:nodes:0350783a-0bad-4b45-856b-832e47113f1b:localhost]

2020-10-23 22:59:51 | [Mutex] waiting for: [received:nodes:0350783a-0bad-4b45-856b-832e47113f1b:localhost]

2020-10-23 22:59:51 | [Mutex] received everything.

2020-10-23 22:59:51 | [Mutex] isItemNotified: received:node:0350783a-0bad-4b45-856b-832e47113f1b:localhost:node-a199568d-d828-4bdc-bdd3-9adc9e5646b0:Node a199568d-d828-4bdc-bdd3-9adc9e5646b0 :: false

2020-10-23 22:59:51 | [Mutex] waiting for: [received:nodes:c8af8170-452e-4dd7-9fd8-4f5818d39954:localhost]

2020-10-23 22:59:51 | [Mutex] received everything.

2020-10-23 22:59:51 | [Mutex] isItemNotified: received:node:c8af8170-452e-4dd7-9fd8-4f5818d39954:localhost:node-a199568d-d828-4bdc-bdd3-9adc9e5646b0:Node a199568d-d828-4bdc-bdd3-9adc9e5646b0 :: false

publishItemsToNodes 0.242s
2020-10-23 22:59:47 |

2020-10-23 22:59:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-23 22:59:47 | ------------------------------------

2020-10-23 22:59:47 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-a199568d-d828-4bdc-bdd3-9adc9e5646b0</node><item-id>item-432971a3-a422-4d53-b603-19846850fadc</item-id><entry><test>item-432971a3-a422-4d53-b603-19846850fadc</test></entry></data>

2020-10-23 22:59:47 | 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-432971a3-a422-4d53-b603-19846850fadc</value></item-id></result>

2020-10-23 22:59:47 | [Mutex] waiting for: [published:item:notifieditem-432971a3-a422-4d53-b603-19846850fadc:admin@test-domain.com]

2020-10-23 22:59:47 | [Mutex] received everything.

2020-10-23 22:59:47 | [Mutex] isItemNotified: published:item:notifieditem-432971a3-a422-4d53-b603-19846850fadc:admin@test-domain.com :: true

retractItemsFromNodes 0.288s
2020-10-23 22:59:48 |

2020-10-23 22:59:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-23 22:59:48 | ------------------------------------

2020-10-23 22:59:48 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-a199568d-d828-4bdc-bdd3-9adc9e5646b0</node><item-id>item-432971a3-a422-4d53-b603-19846850fadc</item-id></data>

2020-10-23 22:59:48 | 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-432971a3-a422-4d53-b603-19846850fadc</value></item-id></result>

2020-10-23 22:59:48 | [Mutex] received everything.

2020-10-23 22:59:48 | [Mutex] isItemNotified: retracted:item:notifieditem-432971a3-a422-4d53-b603-19846850fadc:admin@test-domain.com :: true

retrieveItemsFromNodes 0.370s
2020-10-23 22:59:47 |

2020-10-23 22:59:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-23 22:59:47 | ------------------------------------

2020-10-23 22:59:47 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-a199568d-d828-4bdc-bdd3-9adc9e5646b0</node><item-id>item-432971a3-a422-4d53-b603-19846850fadc</item-id></data>

2020-10-23 22:59:48 | 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-a199568d-d828-4bdc-bdd3-9adc9e5646b0</value></node><item-id label="Item ID" type="text-single"><value>item-432971a3-a422-4d53-b603-19846850fadc</value></item-id><item label="Item" type="text-multi"><value><item id="item-432971a3-a422-4d53-b603-19846850fadc"><test>item-432971a3-a422-4d53-b603-19846850fadc</test></item></value></item></result>

2020-10-23 22:59:48 | [Mutex] notify: [retrieved:item:item-432971a3-a422-4d53-b603-19846850fadc:payload-matches:true:localhost]

2020-10-23 22:59:48 | [Mutex] received everything.

2020-10-23 22:59:48 | [Mutex] isItemNotified: retrieved:item:item-432971a3-a422-4d53-b603-19846850fadc:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.057s
2020-10-23 22:59:48 |

2020-10-23 22:59:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-23 22:59:48 | ------------------------------------

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

2020-10-23 22:59:48 | 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-44a0f333-6921-45c5-a325-6ebdd2b0942b</value><value>node-a199568d-d828-4bdc-bdd3-9adc9e5646b0</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2020-10-23 22:59:48 |

2020-10-23 22:59:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-23 22:59:48 | ------------------------------------

2020-10-23 22:59:48 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-a199568d-d828-4bdc-bdd3-9adc9e5646b0)</node-pattern></data>

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

subscribeNodes 1.128s
2020-10-23 22:59:46 |

2020-10-23 22:59:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-23 22:59:46 | ------------------------------------

2020-10-23 22:59:46 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-a199568d-d828-4bdc-bdd3-9adc9e5646b0</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.326s
2020-10-23 22:59:48 |

2020-10-23 22:59:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-23 22:59:48 | ------------------------------------

2020-10-23 22:59:48 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-a199568d-d828-4bdc-bdd3-9adc9e5646b0</node><jids><value>admin@test-domain.com</value></jids></data>

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