Generated by TestNG with ReportNG at 21:13 PST on Monday 09 November 2020
root@eaa73862192b / 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.847s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.105s
2020-11-09 21:29:11 |

2020-11-09 21:29:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-09 21:29:11 | ------------------------------------

2020-11-09 21:29:11 | [Mutex] waiting for: [configured:node:node-db085936-6e70-455d-945a-ae0d66576d47:node-9ce9da8a-70b6-43be-bcc2-a4cecfbab441]

2020-11-09 21:29:11 | [Mutex] received everything.

2020-11-09 21:29:11 | [Mutex] isItemNotified: configured:node:node-db085936-6e70-455d-945a-ae0d66576d47:node-9ce9da8a-70b6-43be-bcc2-a4cecfbab441 :: true

2020-11-09 21:29:12 | [Mutex] waiting for: [received:nodes:1663cfe4-87e7-42b5-bef7-e18d113cd6a9:localhost]

2020-11-09 21:29:12 | [Mutex] received everything.

2020-11-09 21:29:12 | [Mutex] isItemNotified: received:node:1663cfe4-87e7-42b5-bef7-e18d113cd6a9:localhost:node-db085936-6e70-455d-945a-ae0d66576d47:Node db085936-6e70-455d-945a-ae0d66576d47 :: true

2020-11-09 21:29:12 | [Mutex] waiting for: [received:nodes:c1eb622b-3e16-4d7e-b5ca-cdf77224aa62:localhost]

2020-11-09 21:29:12 | [Mutex] received everything.

2020-11-09 21:29:12 | [Mutex] isItemNotified: received:node:c1eb622b-3e16-4d7e-b5ca-cdf77224aa62:localhost:node-db085936-6e70-455d-945a-ae0d66576d47:Node db085936-6e70-455d-945a-ae0d66576d47 :: false

createNodes 1.388s
2020-11-09 21:29:09 |

2020-11-09 21:29:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-09 21:29:09 | ------------------------------------

2020-11-09 21:29:09 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-db085936-6e70-455d-945a-ae0d66576d47</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node db085936-6e70-455d-945a-ae0d66576d47</title></pubsub></data>

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

2020-11-09 21:29:10 | [Mutex] waiting for: [received:nodes:441987ac-75c6-4c93-8c42-5f56bf07c7ce:localhost]

2020-11-09 21:29:10 | [Mutex] waiting for: [received:nodes:441987ac-75c6-4c93-8c42-5f56bf07c7ce:localhost]

2020-11-09 21:29:10 | [Mutex] received everything.

2020-11-09 21:29:10 | [Mutex] isItemNotified: received:node:441987ac-75c6-4c93-8c42-5f56bf07c7ce:localhost:node-db085936-6e70-455d-945a-ae0d66576d47:Node db085936-6e70-455d-945a-ae0d66576d47 :: true

createSubnodes 1.022s
2020-11-09 21:29:10 |

2020-11-09 21:29:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-09 21:29:10 | ------------------------------------

2020-11-09 21:29:10 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-9ce9da8a-70b6-43be-bcc2-a4cecfbab441</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 9ce9da8a-70b6-43be-bcc2-a4cecfbab441</title></pubsub></data>

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

2020-11-09 21:29:11 | [Mutex] waiting for: [received:nodes:aa956bcd-290a-43d5-8070-6e86b969c067:localhost]

2020-11-09 21:29:11 | [Mutex] received everything.

2020-11-09 21:29:11 | [Mutex] isItemNotified: received:node:aa956bcd-290a-43d5-8070-6e86b969c067:localhost:node-9ce9da8a-70b6-43be-bcc2-a4cecfbab441:Node 9ce9da8a-70b6-43be-bcc2-a4cecfbab441 :: true

deleteNodes 1.017s
2020-11-09 21:29:17 |

2020-11-09 21:29:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-09 21:29:17 | ------------------------------------

2020-11-09 21:29:17 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-9ce9da8a-70b6-43be-bcc2-a4cecfbab441</node></data>

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

2020-11-09 21:29:18 | [Mutex] waiting for: [received:nodes:d5baae66-bf10-432f-89fa-7abe74a216bb:localhost]

2020-11-09 21:29:18 | [Mutex] received everything.

2020-11-09 21:29:18 | [Mutex] isItemNotified: received:node:d5baae66-bf10-432f-89fa-7abe74a216bb:localhost:node-9ce9da8a-70b6-43be-bcc2-a4cecfbab441:Node 9ce9da8a-70b6-43be-bcc2-a4cecfbab441 :: false

deleteSubnodes 1.130s
2020-11-09 21:29:16 |

2020-11-09 21:29:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-09 21:29:16 | ------------------------------------

2020-11-09 21:29:16 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-db085936-6e70-455d-945a-ae0d66576d47</node></data>

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

2020-11-09 21:29:17 | [Mutex] waiting for: [received:nodes:318682f4-0d93-43dd-bc3f-b1f225f22a64:localhost]

2020-11-09 21:29:17 | [Mutex] received everything.

2020-11-09 21:29:17 | [Mutex] isItemNotified: received:node:318682f4-0d93-43dd-bc3f-b1f225f22a64:localhost:node-db085936-6e70-455d-945a-ae0d66576d47:Node db085936-6e70-455d-945a-ae0d66576d47 :: false

2020-11-09 21:29:17 | [Mutex] waiting for: [received:nodes:b6da187e-cac4-40a2-a388-862c86ae1676:localhost]

2020-11-09 21:29:17 | [Mutex] received everything.

2020-11-09 21:29:17 | [Mutex] isItemNotified: received:node:b6da187e-cac4-40a2-a388-862c86ae1676:localhost:node-db085936-6e70-455d-945a-ae0d66576d47:Node db085936-6e70-455d-945a-ae0d66576d47 :: false

publishItemsToNodes 0.213s
2020-11-09 21:29:14 |

2020-11-09 21:29:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-09 21:29:14 | ------------------------------------

2020-11-09 21:29:14 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-db085936-6e70-455d-945a-ae0d66576d47</node><item-id>item-367a23cd-8615-4121-9273-eb3f80da88a6</item-id><entry><test>item-367a23cd-8615-4121-9273-eb3f80da88a6</test></entry></data>

2020-11-09 21:29:14 | 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-367a23cd-8615-4121-9273-eb3f80da88a6</value></item-id></result>

2020-11-09 21:29:14 | [Mutex] waiting for: [published:item:notifieditem-367a23cd-8615-4121-9273-eb3f80da88a6:admin@test-domain.com]

2020-11-09 21:29:14 | [Mutex] received everything.

2020-11-09 21:29:14 | [Mutex] isItemNotified: published:item:notifieditem-367a23cd-8615-4121-9273-eb3f80da88a6:admin@test-domain.com :: true

retractItemsFromNodes 0.317s
2020-11-09 21:29:14 |

2020-11-09 21:29:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-09 21:29:14 | ------------------------------------

2020-11-09 21:29:14 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-db085936-6e70-455d-945a-ae0d66576d47</node><item-id>item-367a23cd-8615-4121-9273-eb3f80da88a6</item-id></data>

2020-11-09 21:29:14 | 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-367a23cd-8615-4121-9273-eb3f80da88a6</value></item-id></result>

2020-11-09 21:29:14 | [Mutex] received everything.

2020-11-09 21:29:14 | [Mutex] isItemNotified: retracted:item:notifieditem-367a23cd-8615-4121-9273-eb3f80da88a6:admin@test-domain.com :: true

retrieveItemsFromNodes 0.237s
2020-11-09 21:29:14 |

2020-11-09 21:29:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-09 21:29:14 | ------------------------------------

2020-11-09 21:29:14 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-db085936-6e70-455d-945a-ae0d66576d47</node><item-id>item-367a23cd-8615-4121-9273-eb3f80da88a6</item-id></data>

2020-11-09 21:29:14 | 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-db085936-6e70-455d-945a-ae0d66576d47</value></node><item-id label="Item ID" type="text-single"><value>item-367a23cd-8615-4121-9273-eb3f80da88a6</value></item-id><item label="Item" type="text-multi"><value><item id="item-367a23cd-8615-4121-9273-eb3f80da88a6"><test>item-367a23cd-8615-4121-9273-eb3f80da88a6</test></item></value></item></result>

2020-11-09 21:29:14 | [Mutex] notify: [retrieved:item:item-367a23cd-8615-4121-9273-eb3f80da88a6:payload-matches:true:localhost]

2020-11-09 21:29:14 | [Mutex] received everything.

2020-11-09 21:29:14 | [Mutex] isItemNotified: retrieved:item:item-367a23cd-8615-4121-9273-eb3f80da88a6:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.051s
2020-11-09 21:29:14 |

2020-11-09 21:29:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-09 21:29:14 | ------------------------------------

2020-11-09 21:29:14 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-11-09 21:29:14 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-9ce9da8a-70b6-43be-bcc2-a4cecfbab441</value><value>test</value><value>node-db085936-6e70-455d-945a-ae0d66576d47</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2020-11-09 21:29:14 |

2020-11-09 21:29:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-09 21:29:14 | ------------------------------------

2020-11-09 21:29:14 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-db085936-6e70-455d-945a-ae0d66576d47)</node-pattern></data>

2020-11-09 21:29:14 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.145s
2020-11-09 21:29:12 |

2020-11-09 21:29:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-09 21:29:12 | ------------------------------------

2020-11-09 21:29:12 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-db085936-6e70-455d-945a-ae0d66576d47</node><jids><value>admin@test-domain.com</value></jids></data>

2020-11-09 21:29:13 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.241s
2020-11-09 21:29:14 |

2020-11-09 21:29:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-09 21:29:14 | ------------------------------------

2020-11-09 21:29:14 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-db085936-6e70-455d-945a-ae0d66576d47</node><jids><value>admin@test-domain.com</value></jids></data>

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