Generated by TestNG with ReportNG at 21:33 PST on Thursday 28 January 2021
root@43fec6d4badf / 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.073s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.146s
2021-01-28 21:48:43 |

2021-01-28 21:48:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-28 21:48:43 | ------------------------------------

2021-01-28 21:48:43 | [Mutex] waiting for: [configured:node:node-69a5454b-deb2-4b1d-b6a7-b211be3ff0b9:node-e424f862-4171-413f-a93f-c7b76a674466]

2021-01-28 21:48:43 | [Mutex] received everything.

2021-01-28 21:48:43 | [Mutex] isItemNotified: configured:node:node-69a5454b-deb2-4b1d-b6a7-b211be3ff0b9:node-e424f862-4171-413f-a93f-c7b76a674466 :: true

2021-01-28 21:48:44 | [Mutex] waiting for: [received:nodes:c232e1f5-3716-47ee-8d11-c342fe1c6f37:localhost]

2021-01-28 21:48:44 | [Mutex] received everything.

2021-01-28 21:48:44 | [Mutex] isItemNotified: received:node:c232e1f5-3716-47ee-8d11-c342fe1c6f37:localhost:node-69a5454b-deb2-4b1d-b6a7-b211be3ff0b9:Node 69a5454b-deb2-4b1d-b6a7-b211be3ff0b9 :: true

2021-01-28 21:48:44 | [Mutex] waiting for: [received:nodes:07e569e0-e782-49a5-b266-1456193a0b9a:localhost]

2021-01-28 21:48:44 | [Mutex] received everything.

2021-01-28 21:48:44 | [Mutex] isItemNotified: received:node:07e569e0-e782-49a5-b266-1456193a0b9a:localhost:node-69a5454b-deb2-4b1d-b6a7-b211be3ff0b9:Node 69a5454b-deb2-4b1d-b6a7-b211be3ff0b9 :: false

createNodes 1.436s
2021-01-28 21:48:41 |

2021-01-28 21:48:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-28 21:48:41 | ------------------------------------

2021-01-28 21:48:41 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-69a5454b-deb2-4b1d-b6a7-b211be3ff0b9</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 69a5454b-deb2-4b1d-b6a7-b211be3ff0b9</title></pubsub></data>

2021-01-28 21:48:41 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-01-28 21:48:42 | [Mutex] waiting for: [received:nodes:170d311b-99b5-42fa-b40b-f4e5f343dc4a:localhost]

2021-01-28 21:48:42 | [Mutex] received everything.

2021-01-28 21:48:42 | [Mutex] isItemNotified: received:node:170d311b-99b5-42fa-b40b-f4e5f343dc4a:localhost:node-69a5454b-deb2-4b1d-b6a7-b211be3ff0b9:Node 69a5454b-deb2-4b1d-b6a7-b211be3ff0b9 :: true

createSubnodes 1.024s
2021-01-28 21:48:42 |

2021-01-28 21:48:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-28 21:48:42 | ------------------------------------

2021-01-28 21:48:42 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-e424f862-4171-413f-a93f-c7b76a674466</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node e424f862-4171-413f-a93f-c7b76a674466</title></pubsub></data>

2021-01-28 21:48:42 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-01-28 21:48:43 | [Mutex] waiting for: [received:nodes:afa02f0f-709b-4f28-86ce-e1a5168292db:localhost]

2021-01-28 21:48:43 | [Mutex] received everything.

2021-01-28 21:48:43 | [Mutex] isItemNotified: received:node:afa02f0f-709b-4f28-86ce-e1a5168292db:localhost:node-e424f862-4171-413f-a93f-c7b76a674466:Node e424f862-4171-413f-a93f-c7b76a674466 :: true

deleteNodes 1.019s
2021-01-28 21:48:49 |

2021-01-28 21:48:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-28 21:48:49 | ------------------------------------

2021-01-28 21:48:49 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-e424f862-4171-413f-a93f-c7b76a674466</node></data>

2021-01-28 21:48:49 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-01-28 21:48:50 | [Mutex] waiting for: [received:nodes:958cd8c4-10c8-4d94-97b1-8a04e3ac2a01:localhost]

2021-01-28 21:48:50 | [Mutex] received everything.

2021-01-28 21:48:50 | [Mutex] isItemNotified: received:node:958cd8c4-10c8-4d94-97b1-8a04e3ac2a01:localhost:node-e424f862-4171-413f-a93f-c7b76a674466:Node e424f862-4171-413f-a93f-c7b76a674466 :: false

deleteSubnodes 1.152s
2021-01-28 21:48:48 |

2021-01-28 21:48:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-28 21:48:48 | ------------------------------------

2021-01-28 21:48:48 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-69a5454b-deb2-4b1d-b6a7-b211be3ff0b9</node></data>

2021-01-28 21:48:48 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-01-28 21:48:49 | [Mutex] waiting for: [received:nodes:f40f4c7c-afdf-4d5e-a7f2-6bac7b9074bb:localhost]

2021-01-28 21:48:49 | [Mutex] waiting for: [received:nodes:f40f4c7c-afdf-4d5e-a7f2-6bac7b9074bb:localhost]

2021-01-28 21:48:49 | [Mutex] received everything.

2021-01-28 21:48:49 | [Mutex] isItemNotified: received:node:f40f4c7c-afdf-4d5e-a7f2-6bac7b9074bb:localhost:node-69a5454b-deb2-4b1d-b6a7-b211be3ff0b9:Node 69a5454b-deb2-4b1d-b6a7-b211be3ff0b9 :: false

2021-01-28 21:48:49 | [Mutex] waiting for: [received:nodes:78a9f7ed-6083-414f-b4ab-e066a4a8829f:localhost]

2021-01-28 21:48:49 | [Mutex] received everything.

2021-01-28 21:48:49 | [Mutex] isItemNotified: received:node:78a9f7ed-6083-414f-b4ab-e066a4a8829f:localhost:node-69a5454b-deb2-4b1d-b6a7-b211be3ff0b9:Node 69a5454b-deb2-4b1d-b6a7-b211be3ff0b9 :: false

publishItemsToNodes 0.275s
2021-01-28 21:48:45 |

2021-01-28 21:48:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-28 21:48:45 | ------------------------------------

2021-01-28 21:48:45 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-69a5454b-deb2-4b1d-b6a7-b211be3ff0b9</node><item-id>item-25f748f1-b972-4f2e-b09a-1407f6882b0f</item-id><entry><test>item-25f748f1-b972-4f2e-b09a-1407f6882b0f</test></entry></data>

2021-01-28 21:48:46 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-25f748f1-b972-4f2e-b09a-1407f6882b0f</value></item-id></result>

2021-01-28 21:48:46 | [Mutex] received everything.

2021-01-28 21:48:46 | [Mutex] isItemNotified: published:item:notifieditem-25f748f1-b972-4f2e-b09a-1407f6882b0f:admin@test-domain.com :: true

retractItemsFromNodes 0.243s
2021-01-28 21:48:46 |

2021-01-28 21:48:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-28 21:48:46 | ------------------------------------

2021-01-28 21:48:46 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-69a5454b-deb2-4b1d-b6a7-b211be3ff0b9</node><item-id>item-25f748f1-b972-4f2e-b09a-1407f6882b0f</item-id></data>

2021-01-28 21:48:46 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-25f748f1-b972-4f2e-b09a-1407f6882b0f</value></item-id></result>

2021-01-28 21:48:46 | [Mutex] received everything.

2021-01-28 21:48:46 | [Mutex] isItemNotified: retracted:item:notifieditem-25f748f1-b972-4f2e-b09a-1407f6882b0f:admin@test-domain.com :: true

retrieveItemsFromNodes 0.298s
2021-01-28 21:48:46 |

2021-01-28 21:48:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-28 21:48:46 | ------------------------------------

2021-01-28 21:48:46 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-69a5454b-deb2-4b1d-b6a7-b211be3ff0b9</node><item-id>item-25f748f1-b972-4f2e-b09a-1407f6882b0f</item-id></data>

2021-01-28 21:48:46 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node type="text-single" label="Node"><value>node-69a5454b-deb2-4b1d-b6a7-b211be3ff0b9</value></node><item-id type="text-single" label="Item ID"><value>item-25f748f1-b972-4f2e-b09a-1407f6882b0f</value></item-id><item type="text-multi" label="Item"><value><item id="item-25f748f1-b972-4f2e-b09a-1407f6882b0f"><test>item-25f748f1-b972-4f2e-b09a-1407f6882b0f</test></item></value></item></result>

2021-01-28 21:48:46 | [Mutex] notify: [retrieved:item:item-25f748f1-b972-4f2e-b09a-1407f6882b0f:payload-matches:true:localhost]

2021-01-28 21:48:46 | [Mutex] received everything.

2021-01-28 21:48:46 | [Mutex] isItemNotified: retrieved:item:item-25f748f1-b972-4f2e-b09a-1407f6882b0f:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.054s
2021-01-28 21:48:46 |

2021-01-28 21:48:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-28 21:48:46 | ------------------------------------

2021-01-28 21:48:46 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-01-28 21:48:46 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-69a5454b-deb2-4b1d-b6a7-b211be3ff0b9</value><value>node-e424f862-4171-413f-a93f-c7b76a674466</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.062s
2021-01-28 21:48:46 |

2021-01-28 21:48:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-28 21:48:46 | ------------------------------------

2021-01-28 21:48:46 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-69a5454b-deb2-4b1d-b6a7-b211be3ff0b9)</node-pattern></data>

2021-01-28 21:48:46 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.119s
2021-01-28 21:48:44 |

2021-01-28 21:48:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-28 21:48:44 | ------------------------------------

2021-01-28 21:48:44 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-69a5454b-deb2-4b1d-b6a7-b211be3ff0b9</node><jids><value>admin@test-domain.com</value></jids></data>

2021-01-28 21:48:44 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.355s
2021-01-28 21:48:46 |

2021-01-28 21:48:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-28 21:48:46 | ------------------------------------

2021-01-28 21:48:46 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-69a5454b-deb2-4b1d-b6a7-b211be3ff0b9</node><jids><value>admin@test-domain.com</value></jids></data>

2021-01-28 21:48:47 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>