Generated by TestNG with ReportNG at 23:43 PDT on Tuesday 01 September 2020
root@556a2edbe156 / 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.871s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.089s
2020-09-01 23:58:08 |

2020-09-01 23:58:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 23:58:08 | ------------------------------------

2020-09-01 23:58:08 | [Mutex] waiting for: [configured:node:node-d8a8d0b6-adc0-494d-afb8-5a3c8077135b:node-3e0a19ce-5ab7-47b0-a3d0-957609ea216f]

2020-09-01 23:58:08 | [Mutex] received everything.

2020-09-01 23:58:08 | [Mutex] isItemNotified: configured:node:node-d8a8d0b6-adc0-494d-afb8-5a3c8077135b:node-3e0a19ce-5ab7-47b0-a3d0-957609ea216f :: true

2020-09-01 23:58:09 | [Mutex] waiting for: [received:nodes:5f23cc8e-de4d-417d-ae97-021afdf47e74:localhost]

2020-09-01 23:58:09 | [Mutex] received everything.

2020-09-01 23:58:09 | [Mutex] isItemNotified: received:node:5f23cc8e-de4d-417d-ae97-021afdf47e74:localhost:node-d8a8d0b6-adc0-494d-afb8-5a3c8077135b:Node d8a8d0b6-adc0-494d-afb8-5a3c8077135b :: true

2020-09-01 23:58:09 | [Mutex] waiting for: [received:nodes:c4deaff6-cdb7-4c3a-b353-1c745234f7ad:localhost]

2020-09-01 23:58:09 | [Mutex] received everything.

2020-09-01 23:58:09 | [Mutex] isItemNotified: received:node:c4deaff6-cdb7-4c3a-b353-1c745234f7ad:localhost:node-d8a8d0b6-adc0-494d-afb8-5a3c8077135b:Node d8a8d0b6-adc0-494d-afb8-5a3c8077135b :: false

createNodes 1.351s
2020-09-01 23:58:05 |

2020-09-01 23:58:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 23:58:05 | ------------------------------------

2020-09-01 23:58:05 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d8a8d0b6-adc0-494d-afb8-5a3c8077135b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node d8a8d0b6-adc0-494d-afb8-5a3c8077135b</title></pubsub></data>

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

2020-09-01 23:58:07 | [Mutex] waiting for: [received:nodes:d088c40e-d9a6-4511-90fa-539fa5eb1c1b:localhost]

2020-09-01 23:58:07 | [Mutex] received everything.

2020-09-01 23:58:07 | [Mutex] isItemNotified: received:node:d088c40e-d9a6-4511-90fa-539fa5eb1c1b:localhost:node-d8a8d0b6-adc0-494d-afb8-5a3c8077135b:Node d8a8d0b6-adc0-494d-afb8-5a3c8077135b :: true

createSubnodes 1.048s
2020-09-01 23:58:07 |

2020-09-01 23:58:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 23:58:07 | ------------------------------------

2020-09-01 23:58:07 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-3e0a19ce-5ab7-47b0-a3d0-957609ea216f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 3e0a19ce-5ab7-47b0-a3d0-957609ea216f</title></pubsub></data>

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

2020-09-01 23:58:08 | [Mutex] waiting for: [received:nodes:c691cd00-f266-45a9-a897-f45b14cd742b:localhost]

2020-09-01 23:58:08 | [Mutex] received everything.

2020-09-01 23:58:08 | [Mutex] isItemNotified: received:node:c691cd00-f266-45a9-a897-f45b14cd742b:localhost:node-3e0a19ce-5ab7-47b0-a3d0-957609ea216f:Node 3e0a19ce-5ab7-47b0-a3d0-957609ea216f :: true

deleteNodes 1.022s
2020-09-01 23:58:13 |

2020-09-01 23:58:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 23:58:13 | ------------------------------------

2020-09-01 23:58:13 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-3e0a19ce-5ab7-47b0-a3d0-957609ea216f</node></data>

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

2020-09-01 23:58:14 | [Mutex] waiting for: [received:nodes:3d22e97a-bbf4-4031-a35a-d05635880541:localhost]

2020-09-01 23:58:14 | [Mutex] received everything.

2020-09-01 23:58:14 | [Mutex] isItemNotified: received:node:3d22e97a-bbf4-4031-a35a-d05635880541:localhost:node-3e0a19ce-5ab7-47b0-a3d0-957609ea216f:Node 3e0a19ce-5ab7-47b0-a3d0-957609ea216f :: false

deleteSubnodes 1.140s
2020-09-01 23:58:12 |

2020-09-01 23:58:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 23:58:12 | ------------------------------------

2020-09-01 23:58:12 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d8a8d0b6-adc0-494d-afb8-5a3c8077135b</node></data>

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

2020-09-01 23:58:13 | [Mutex] waiting for: [received:nodes:e05a922c-7acc-4cda-9497-58a79794e580:localhost]

2020-09-01 23:58:13 | [Mutex] received everything.

2020-09-01 23:58:13 | [Mutex] isItemNotified: received:node:e05a922c-7acc-4cda-9497-58a79794e580:localhost:node-d8a8d0b6-adc0-494d-afb8-5a3c8077135b:Node d8a8d0b6-adc0-494d-afb8-5a3c8077135b :: false

2020-09-01 23:58:13 | [Mutex] waiting for: [received:nodes:3e5ae0e8-16cd-41f2-9408-0feedc76bfcf:localhost]

2020-09-01 23:58:13 | [Mutex] received everything.

2020-09-01 23:58:13 | [Mutex] isItemNotified: received:node:3e5ae0e8-16cd-41f2-9408-0feedc76bfcf:localhost:node-d8a8d0b6-adc0-494d-afb8-5a3c8077135b:Node d8a8d0b6-adc0-494d-afb8-5a3c8077135b :: false

publishItemsToNodes 0.220s
2020-09-01 23:58:10 |

2020-09-01 23:58:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 23:58:10 | ------------------------------------

2020-09-01 23:58:10 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-d8a8d0b6-adc0-494d-afb8-5a3c8077135b</node><item-id>item-22ebc896-fb4e-4c58-a230-5cf421a10325</item-id><entry><test>item-22ebc896-fb4e-4c58-a230-5cf421a10325</test></entry></data>

2020-09-01 23:58: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-22ebc896-fb4e-4c58-a230-5cf421a10325</value></item-id></result>

2020-09-01 23:58:10 | [Mutex] waiting for: [published:item:notifieditem-22ebc896-fb4e-4c58-a230-5cf421a10325:admin@test-domain.com]

2020-09-01 23:58:10 | [Mutex] received everything.

2020-09-01 23:58:10 | [Mutex] isItemNotified: published:item:notifieditem-22ebc896-fb4e-4c58-a230-5cf421a10325:admin@test-domain.com :: true

retractItemsFromNodes 0.172s
2020-09-01 23:58:11 |

2020-09-01 23:58:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 23:58:11 | ------------------------------------

2020-09-01 23:58:11 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-d8a8d0b6-adc0-494d-afb8-5a3c8077135b</node><item-id>item-22ebc896-fb4e-4c58-a230-5cf421a10325</item-id></data>

2020-09-01 23:58: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-22ebc896-fb4e-4c58-a230-5cf421a10325</value></item-id></result>

2020-09-01 23:58:11 | [Mutex] received everything.

2020-09-01 23:58:11 | [Mutex] isItemNotified: retracted:item:notifieditem-22ebc896-fb4e-4c58-a230-5cf421a10325:admin@test-domain.com :: true

retrieveItemsFromNodes 0.302s
2020-09-01 23:58:10 |

2020-09-01 23:58:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 23:58:10 | ------------------------------------

2020-09-01 23:58:10 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-d8a8d0b6-adc0-494d-afb8-5a3c8077135b</node><item-id>item-22ebc896-fb4e-4c58-a230-5cf421a10325</item-id></data>

2020-09-01 23:58:11 | 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-d8a8d0b6-adc0-494d-afb8-5a3c8077135b</value></node><item-id label="Item ID" type="text-single"><value>item-22ebc896-fb4e-4c58-a230-5cf421a10325</value></item-id><item label="Item" type="text-multi"><value><item id="item-22ebc896-fb4e-4c58-a230-5cf421a10325"><test>item-22ebc896-fb4e-4c58-a230-5cf421a10325</test></item></value></item></result>

2020-09-01 23:58:11 | [Mutex] notify: [retrieved:item:item-22ebc896-fb4e-4c58-a230-5cf421a10325:payload-matches:true:localhost]

2020-09-01 23:58:11 | [Mutex] received everything.

2020-09-01 23:58:11 | [Mutex] isItemNotified: retrieved:item:item-22ebc896-fb4e-4c58-a230-5cf421a10325:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-09-01 23:58:11 |

2020-09-01 23:58:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 23:58:11 | ------------------------------------

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

2020-09-01 23:58:11 | 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-3e0a19ce-5ab7-47b0-a3d0-957609ea216f</value><value>node-d8a8d0b6-adc0-494d-afb8-5a3c8077135b</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2020-09-01 23:58:11 |

2020-09-01 23:58:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 23:58:11 | ------------------------------------

2020-09-01 23:58:11 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-d8a8d0b6-adc0-494d-afb8-5a3c8077135b)</node-pattern></data>

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

subscribeNodes 1.139s
2020-09-01 23:58:09 |

2020-09-01 23:58:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 23:58:09 | ------------------------------------

2020-09-01 23:58:09 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-d8a8d0b6-adc0-494d-afb8-5a3c8077135b</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-01 23:58: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.248s
2020-09-01 23:58:11 |

2020-09-01 23:58:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 23:58:11 | ------------------------------------

2020-09-01 23:58:11 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-d8a8d0b6-adc0-494d-afb8-5a3c8077135b</node><jids><value>admin@test-domain.com</value></jids></data>

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