Generated by TestNG with ReportNG at 21:17 PST on Sunday 17 January 2021
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 : 10.197s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.152s
2021-01-17 21:32:08 |

2021-01-17 21:32:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-17 21:32:08 | ------------------------------------

2021-01-17 21:32:08 | [Mutex] waiting for: [configured:node:node-af5c72fe-a9c9-431c-bee5-56122d075211:node-deadb6ac-a9d4-494d-ae49-bdf2cf15f0dc]

2021-01-17 21:32:08 | [Mutex] received everything.

2021-01-17 21:32:08 | [Mutex] isItemNotified: configured:node:node-af5c72fe-a9c9-431c-bee5-56122d075211:node-deadb6ac-a9d4-494d-ae49-bdf2cf15f0dc :: true

2021-01-17 21:32:09 | [Mutex] waiting for: [received:nodes:9936898d-ef27-45a0-9691-05805c4c7953:localhost]

2021-01-17 21:32:09 | [Mutex] received everything.

2021-01-17 21:32:09 | [Mutex] isItemNotified: received:node:9936898d-ef27-45a0-9691-05805c4c7953:localhost:node-af5c72fe-a9c9-431c-bee5-56122d075211:Node af5c72fe-a9c9-431c-bee5-56122d075211 :: true

2021-01-17 21:32:09 | [Mutex] waiting for: [received:nodes:1e57676e-3854-445f-85ac-732095ad26eb:localhost]

2021-01-17 21:32:09 | [Mutex] waiting for: [received:nodes:1e57676e-3854-445f-85ac-732095ad26eb:localhost]

2021-01-17 21:32:09 | [Mutex] received everything.

2021-01-17 21:32:09 | [Mutex] isItemNotified: received:node:1e57676e-3854-445f-85ac-732095ad26eb:localhost:node-af5c72fe-a9c9-431c-bee5-56122d075211:Node af5c72fe-a9c9-431c-bee5-56122d075211 :: false

createNodes 1.568s
2021-01-17 21:32:05 |

2021-01-17 21:32:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-17 21:32:05 | ------------------------------------

2021-01-17 21:32:05 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-af5c72fe-a9c9-431c-bee5-56122d075211</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node af5c72fe-a9c9-431c-bee5-56122d075211</title></pubsub></data>

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

2021-01-17 21:32:07 | [Mutex] waiting for: [received:nodes:826720a1-2358-4b4c-a9c8-bfb7314befa6:localhost]

2021-01-17 21:32:07 | [Mutex] received everything.

2021-01-17 21:32:07 | [Mutex] isItemNotified: received:node:826720a1-2358-4b4c-a9c8-bfb7314befa6:localhost:node-af5c72fe-a9c9-431c-bee5-56122d075211:Node af5c72fe-a9c9-431c-bee5-56122d075211 :: true

createSubnodes 1.035s
2021-01-17 21:32:07 |

2021-01-17 21:32:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-17 21:32:07 | ------------------------------------

2021-01-17 21:32:07 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-deadb6ac-a9d4-494d-ae49-bdf2cf15f0dc</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node deadb6ac-a9d4-494d-ae49-bdf2cf15f0dc</title></pubsub></data>

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

2021-01-17 21:32:08 | [Mutex] waiting for: [received:nodes:4dedb6b7-6c1b-46f9-87c6-8ec26d071fcb:localhost]

2021-01-17 21:32:08 | [Mutex] received everything.

2021-01-17 21:32:08 | [Mutex] isItemNotified: received:node:4dedb6b7-6c1b-46f9-87c6-8ec26d071fcb:localhost:node-deadb6ac-a9d4-494d-ae49-bdf2cf15f0dc:Node deadb6ac-a9d4-494d-ae49-bdf2cf15f0dc :: true

deleteNodes 1.017s
2021-01-17 21:32:13 |

2021-01-17 21:32:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-17 21:32:13 | ------------------------------------

2021-01-17 21:32:13 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-deadb6ac-a9d4-494d-ae49-bdf2cf15f0dc</node></data>

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

2021-01-17 21:32:14 | [Mutex] waiting for: [received:nodes:89b1d53b-65c9-4520-8005-ad172766ea1a:localhost]

2021-01-17 21:32:14 | [Mutex] waiting for: [received:nodes:89b1d53b-65c9-4520-8005-ad172766ea1a:localhost]

2021-01-17 21:32:14 | [Mutex] received everything.

2021-01-17 21:32:14 | [Mutex] isItemNotified: received:node:89b1d53b-65c9-4520-8005-ad172766ea1a:localhost:node-deadb6ac-a9d4-494d-ae49-bdf2cf15f0dc:Node deadb6ac-a9d4-494d-ae49-bdf2cf15f0dc :: false

deleteSubnodes 1.115s
2021-01-17 21:32:12 |

2021-01-17 21:32:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-17 21:32:12 | ------------------------------------

2021-01-17 21:32:12 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-af5c72fe-a9c9-431c-bee5-56122d075211</node></data>

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

2021-01-17 21:32:13 | [Mutex] waiting for: [received:nodes:9f660aef-0fcd-4369-a58a-a47a8238e397:localhost]

2021-01-17 21:32:13 | [Mutex] waiting for: [received:nodes:9f660aef-0fcd-4369-a58a-a47a8238e397:localhost]

2021-01-17 21:32:13 | [Mutex] received everything.

2021-01-17 21:32:13 | [Mutex] isItemNotified: received:node:9f660aef-0fcd-4369-a58a-a47a8238e397:localhost:node-af5c72fe-a9c9-431c-bee5-56122d075211:Node af5c72fe-a9c9-431c-bee5-56122d075211 :: false

2021-01-17 21:32:13 | [Mutex] waiting for: [received:nodes:a9055469-328a-4e42-9fca-1b7270577ac9:localhost]

2021-01-17 21:32:13 | [Mutex] received everything.

2021-01-17 21:32:13 | [Mutex] isItemNotified: received:node:a9055469-328a-4e42-9fca-1b7270577ac9:localhost:node-af5c72fe-a9c9-431c-bee5-56122d075211:Node af5c72fe-a9c9-431c-bee5-56122d075211 :: false

publishItemsToNodes 0.190s
2021-01-17 21:32:10 |

2021-01-17 21:32:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-17 21:32:10 | ------------------------------------

2021-01-17 21:32:10 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-af5c72fe-a9c9-431c-bee5-56122d075211</node><item-id>item-1e2e0a02-3bd2-4b42-b3c9-b739c440bc34</item-id><entry><test>item-1e2e0a02-3bd2-4b42-b3c9-b739c440bc34</test></entry></data>

2021-01-17 21:32:10 | 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-1e2e0a02-3bd2-4b42-b3c9-b739c440bc34</value></item-id></result>

2021-01-17 21:32:10 | [Mutex] received everything.

2021-01-17 21:32:10 | [Mutex] isItemNotified: published:item:notifieditem-1e2e0a02-3bd2-4b42-b3c9-b739c440bc34:admin@test-domain.com :: true

retractItemsFromNodes 0.311s
2021-01-17 21:32:10 |

2021-01-17 21:32:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-17 21:32:10 | ------------------------------------

2021-01-17 21:32:10 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-af5c72fe-a9c9-431c-bee5-56122d075211</node><item-id>item-1e2e0a02-3bd2-4b42-b3c9-b739c440bc34</item-id></data>

2021-01-17 21:32:11 | 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-1e2e0a02-3bd2-4b42-b3c9-b739c440bc34</value></item-id></result>

2021-01-17 21:32:11 | [Mutex] received everything.

2021-01-17 21:32:11 | [Mutex] isItemNotified: retracted:item:notifieditem-1e2e0a02-3bd2-4b42-b3c9-b739c440bc34:admin@test-domain.com :: true

retrieveItemsFromNodes 0.249s
2021-01-17 21:32:10 |

2021-01-17 21:32:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-17 21:32:10 | ------------------------------------

2021-01-17 21:32:10 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-af5c72fe-a9c9-431c-bee5-56122d075211</node><item-id>item-1e2e0a02-3bd2-4b42-b3c9-b739c440bc34</item-id></data>

2021-01-17 21:32:10 | 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-af5c72fe-a9c9-431c-bee5-56122d075211</value></node><item-id label="Item ID" type="text-single"><value>item-1e2e0a02-3bd2-4b42-b3c9-b739c440bc34</value></item-id><item label="Item" type="text-multi"><value><item id="item-1e2e0a02-3bd2-4b42-b3c9-b739c440bc34"><test>item-1e2e0a02-3bd2-4b42-b3c9-b739c440bc34</test></item></value></item></result>

2021-01-17 21:32:10 | [Mutex] notify: [retrieved:item:item-1e2e0a02-3bd2-4b42-b3c9-b739c440bc34:payload-matches:true:localhost]

2021-01-17 21:32:10 | [Mutex] received everything.

2021-01-17 21:32:10 | [Mutex] isItemNotified: retrieved:item:item-1e2e0a02-3bd2-4b42-b3c9-b739c440bc34:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-01-17 21:32:10 |

2021-01-17 21:32:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-17 21:32:10 | ------------------------------------

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

2021-01-17 21:32:10 | 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-af5c72fe-a9c9-431c-bee5-56122d075211</value><value>node-deadb6ac-a9d4-494d-ae49-bdf2cf15f0dc</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-01-17 21:32:10 |

2021-01-17 21:32:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-17 21:32:10 | ------------------------------------

2021-01-17 21:32:10 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-af5c72fe-a9c9-431c-bee5-56122d075211)</node-pattern></data>

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

subscribeNodes 1.132s
2021-01-17 21:32:09 |

2021-01-17 21:32:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-17 21:32:09 | ------------------------------------

2021-01-17 21:32:09 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-af5c72fe-a9c9-431c-bee5-56122d075211</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.327s
2021-01-17 21:32:11 |

2021-01-17 21:32:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-17 21:32:11 | ------------------------------------

2021-01-17 21:32:11 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-af5c72fe-a9c9-431c-bee5-56122d075211</node><jids><value>admin@test-domain.com</value></jids></data>

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