Generated by TestNG with ReportNG at 23:24 PDT on Sunday 06 September 2020
root@3ee9c8e1f047 / 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.879s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.115s
2020-09-06 23:40:34 |

2020-09-06 23:40:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-06 23:40:34 | ------------------------------------

2020-09-06 23:40:34 | [Mutex] waiting for: [configured:node:node-fb0f9fb8-2eea-46b0-8500-5abece3c65ea:node-e6eb1c09-3e1f-4eef-b48f-94f57cbd9a9b]

2020-09-06 23:40:34 | [Mutex] received everything.

2020-09-06 23:40:34 | [Mutex] isItemNotified: configured:node:node-fb0f9fb8-2eea-46b0-8500-5abece3c65ea:node-e6eb1c09-3e1f-4eef-b48f-94f57cbd9a9b :: true

2020-09-06 23:40:35 | [Mutex] waiting for: [received:nodes:248081ad-b462-45ce-ba07-5aff9d3618a3:localhost]

2020-09-06 23:40:35 | [Mutex] received everything.

2020-09-06 23:40:35 | [Mutex] isItemNotified: received:node:248081ad-b462-45ce-ba07-5aff9d3618a3:localhost:node-fb0f9fb8-2eea-46b0-8500-5abece3c65ea:Node fb0f9fb8-2eea-46b0-8500-5abece3c65ea :: true

2020-09-06 23:40:35 | [Mutex] waiting for: [received:nodes:0ac131e5-ac1b-4a04-a5e7-b829a51a9aa2:localhost]

2020-09-06 23:40:35 | [Mutex] received everything.

2020-09-06 23:40:35 | [Mutex] isItemNotified: received:node:0ac131e5-ac1b-4a04-a5e7-b829a51a9aa2:localhost:node-fb0f9fb8-2eea-46b0-8500-5abece3c65ea:Node fb0f9fb8-2eea-46b0-8500-5abece3c65ea :: false

createNodes 1.390s
2020-09-06 23:40:32 |

2020-09-06 23:40:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-06 23:40:32 | ------------------------------------

2020-09-06 23:40:32 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-fb0f9fb8-2eea-46b0-8500-5abece3c65ea</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node fb0f9fb8-2eea-46b0-8500-5abece3c65ea</title></pubsub></data>

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

2020-09-06 23:40:33 | [Mutex] waiting for: [received:nodes:04a5da8a-aa65-4f08-ae94-826cc62d4106:localhost]

2020-09-06 23:40:33 | [Mutex] received everything.

2020-09-06 23:40:33 | [Mutex] isItemNotified: received:node:04a5da8a-aa65-4f08-ae94-826cc62d4106:localhost:node-fb0f9fb8-2eea-46b0-8500-5abece3c65ea:Node fb0f9fb8-2eea-46b0-8500-5abece3c65ea :: true

createSubnodes 1.024s
2020-09-06 23:40:33 |

2020-09-06 23:40:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-06 23:40:33 | ------------------------------------

2020-09-06 23:40:33 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-e6eb1c09-3e1f-4eef-b48f-94f57cbd9a9b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node e6eb1c09-3e1f-4eef-b48f-94f57cbd9a9b</title></pubsub></data>

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

2020-09-06 23:40:34 | [Mutex] waiting for: [received:nodes:898ea556-be52-4af3-a1da-d3ecadbe44a7:localhost]

2020-09-06 23:40:34 | [Mutex] waiting for: [received:nodes:898ea556-be52-4af3-a1da-d3ecadbe44a7:localhost]

2020-09-06 23:40:34 | [Mutex] received everything.

2020-09-06 23:40:34 | [Mutex] isItemNotified: received:node:898ea556-be52-4af3-a1da-d3ecadbe44a7:localhost:node-e6eb1c09-3e1f-4eef-b48f-94f57cbd9a9b:Node e6eb1c09-3e1f-4eef-b48f-94f57cbd9a9b :: true

deleteNodes 1.019s
2020-09-06 23:40:39 |

2020-09-06 23:40:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-06 23:40:39 | ------------------------------------

2020-09-06 23:40:39 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-e6eb1c09-3e1f-4eef-b48f-94f57cbd9a9b</node></data>

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

2020-09-06 23:40:40 | [Mutex] waiting for: [received:nodes:62fbf6d8-257d-4bed-a39b-1c31114229a6:localhost]

2020-09-06 23:40:40 | [Mutex] received everything.

2020-09-06 23:40:40 | [Mutex] isItemNotified: received:node:62fbf6d8-257d-4bed-a39b-1c31114229a6:localhost:node-e6eb1c09-3e1f-4eef-b48f-94f57cbd9a9b:Node e6eb1c09-3e1f-4eef-b48f-94f57cbd9a9b :: false

deleteSubnodes 1.102s
2020-09-06 23:40:38 |

2020-09-06 23:40:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-06 23:40:38 | ------------------------------------

2020-09-06 23:40:38 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-fb0f9fb8-2eea-46b0-8500-5abece3c65ea</node></data>

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

2020-09-06 23:40:39 | [Mutex] waiting for: [received:nodes:1920ddbe-9d24-4fef-9338-6f95edb264a7:localhost]

2020-09-06 23:40:39 | [Mutex] waiting for: [received:nodes:1920ddbe-9d24-4fef-9338-6f95edb264a7:localhost]

2020-09-06 23:40:39 | [Mutex] received everything.

2020-09-06 23:40:39 | [Mutex] isItemNotified: received:node:1920ddbe-9d24-4fef-9338-6f95edb264a7:localhost:node-fb0f9fb8-2eea-46b0-8500-5abece3c65ea:Node fb0f9fb8-2eea-46b0-8500-5abece3c65ea :: false

2020-09-06 23:40:39 | [Mutex] waiting for: [received:nodes:5dfef11a-0c7b-40ba-8913-398abea3894b:localhost]

2020-09-06 23:40:39 | [Mutex] received everything.

2020-09-06 23:40:39 | [Mutex] isItemNotified: received:node:5dfef11a-0c7b-40ba-8913-398abea3894b:localhost:node-fb0f9fb8-2eea-46b0-8500-5abece3c65ea:Node fb0f9fb8-2eea-46b0-8500-5abece3c65ea :: false

publishItemsToNodes 0.180s
2020-09-06 23:40:36 |

2020-09-06 23:40:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-06 23:40:36 | ------------------------------------

2020-09-06 23:40:36 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-fb0f9fb8-2eea-46b0-8500-5abece3c65ea</node><item-id>item-88294d6d-c75e-4640-affb-24540433915f</item-id><entry><test>item-88294d6d-c75e-4640-affb-24540433915f</test></entry></data>

2020-09-06 23:40:36 | 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-88294d6d-c75e-4640-affb-24540433915f</value></item-id></result>

2020-09-06 23:40:36 | [Mutex] waiting for: [published:item:notifieditem-88294d6d-c75e-4640-affb-24540433915f:admin@test-domain.com]

2020-09-06 23:40:36 | [Mutex] received everything.

2020-09-06 23:40:36 | [Mutex] isItemNotified: published:item:notifieditem-88294d6d-c75e-4640-affb-24540433915f:admin@test-domain.com :: true

retractItemsFromNodes 0.247s
2020-09-06 23:40:37 |

2020-09-06 23:40:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-06 23:40:37 | ------------------------------------

2020-09-06 23:40:37 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-fb0f9fb8-2eea-46b0-8500-5abece3c65ea</node><item-id>item-88294d6d-c75e-4640-affb-24540433915f</item-id></data>

2020-09-06 23:40:37 | 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-88294d6d-c75e-4640-affb-24540433915f</value></item-id></result>

2020-09-06 23:40:37 | [Mutex] received everything.

2020-09-06 23:40:37 | [Mutex] isItemNotified: retracted:item:notifieditem-88294d6d-c75e-4640-affb-24540433915f:admin@test-domain.com :: true

retrieveItemsFromNodes 0.307s
2020-09-06 23:40:36 |

2020-09-06 23:40:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-06 23:40:36 | ------------------------------------

2020-09-06 23:40:36 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-fb0f9fb8-2eea-46b0-8500-5abece3c65ea</node><item-id>item-88294d6d-c75e-4640-affb-24540433915f</item-id></data>

2020-09-06 23:40:37 | 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-fb0f9fb8-2eea-46b0-8500-5abece3c65ea</value></node><item-id label="Item ID" type="text-single"><value>item-88294d6d-c75e-4640-affb-24540433915f</value></item-id><item label="Item" type="text-multi"><value><item id="item-88294d6d-c75e-4640-affb-24540433915f"><test>item-88294d6d-c75e-4640-affb-24540433915f</test></item></value></item></result>

2020-09-06 23:40:37 | [Mutex] notify: [retrieved:item:item-88294d6d-c75e-4640-affb-24540433915f:payload-matches:true:localhost]

2020-09-06 23:40:37 | [Mutex] received everything.

2020-09-06 23:40:37 | [Mutex] isItemNotified: retrieved:item:item-88294d6d-c75e-4640-affb-24540433915f:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.048s
2020-09-06 23:40:37 |

2020-09-06 23:40:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-06 23:40:37 | ------------------------------------

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

2020-09-06 23:40:37 | 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-fb0f9fb8-2eea-46b0-8500-5abece3c65ea</value><value>node-e6eb1c09-3e1f-4eef-b48f-94f57cbd9a9b</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2020-09-06 23:40:37 |

2020-09-06 23:40:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-06 23:40:37 | ------------------------------------

2020-09-06 23:40:37 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-fb0f9fb8-2eea-46b0-8500-5abece3c65ea)</node-pattern></data>

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

subscribeNodes 1.125s
2020-09-06 23:40:35 |

2020-09-06 23:40:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-06 23:40:35 | ------------------------------------

2020-09-06 23:40:35 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-fb0f9fb8-2eea-46b0-8500-5abece3c65ea</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.331s
2020-09-06 23:40:37 |

2020-09-06 23:40:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-06 23:40:37 | ------------------------------------

2020-09-06 23:40:37 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-fb0f9fb8-2eea-46b0-8500-5abece3c65ea</node><jids><value>admin@test-domain.com</value></jids></data>

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