Generated by TestNG with ReportNG at 21:14 PST on Thursday 21 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.243s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.105s
2021-01-21 21:29:55 |

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

2021-01-21 21:29:55 | ------------------------------------

2021-01-21 21:29:55 | [Mutex] waiting for: [configured:node:node-c07e9af2-e099-4deb-92ec-5d958977cb4c:node-03011673-11dd-433e-8347-2028666bdf2b]

2021-01-21 21:29:55 | [Mutex] received everything.

2021-01-21 21:29:55 | [Mutex] isItemNotified: configured:node:node-c07e9af2-e099-4deb-92ec-5d958977cb4c:node-03011673-11dd-433e-8347-2028666bdf2b :: true

2021-01-21 21:29:56 | [Mutex] waiting for: [received:nodes:93343879-3951-4e0b-9113-2b09db448283:localhost]

2021-01-21 21:29:56 | [Mutex] received everything.

2021-01-21 21:29:56 | [Mutex] isItemNotified: received:node:93343879-3951-4e0b-9113-2b09db448283:localhost:node-c07e9af2-e099-4deb-92ec-5d958977cb4c:Node c07e9af2-e099-4deb-92ec-5d958977cb4c :: true

2021-01-21 21:29:56 | [Mutex] waiting for: [received:nodes:cda4517d-f896-4e85-a858-421d3bf02879:localhost]

2021-01-21 21:29:56 | [Mutex] received everything.

2021-01-21 21:29:56 | [Mutex] isItemNotified: received:node:cda4517d-f896-4e85-a858-421d3bf02879:localhost:node-c07e9af2-e099-4deb-92ec-5d958977cb4c:Node c07e9af2-e099-4deb-92ec-5d958977cb4c :: false

createNodes 1.447s
2021-01-21 21:29:52 |

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

2021-01-21 21:29:52 | ------------------------------------

2021-01-21 21:29:52 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c07e9af2-e099-4deb-92ec-5d958977cb4c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node c07e9af2-e099-4deb-92ec-5d958977cb4c</title></pubsub></data>

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

2021-01-21 21:29:54 | [Mutex] waiting for: [received:nodes:4ac0261d-55b4-432c-ba99-6fe812571aec:localhost]

2021-01-21 21:29:54 | [Mutex] received everything.

2021-01-21 21:29:54 | [Mutex] isItemNotified: received:node:4ac0261d-55b4-432c-ba99-6fe812571aec:localhost:node-c07e9af2-e099-4deb-92ec-5d958977cb4c:Node c07e9af2-e099-4deb-92ec-5d958977cb4c :: true

createSubnodes 1.027s
2021-01-21 21:29:54 |

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

2021-01-21 21:29:54 | ------------------------------------

2021-01-21 21:29:54 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-03011673-11dd-433e-8347-2028666bdf2b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 03011673-11dd-433e-8347-2028666bdf2b</title></pubsub></data>

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

2021-01-21 21:29:55 | [Mutex] waiting for: [received:nodes:4762a348-5c8e-4daa-8f5e-b15272df9701:localhost]

2021-01-21 21:29:55 | [Mutex] received everything.

2021-01-21 21:29:55 | [Mutex] isItemNotified: received:node:4762a348-5c8e-4daa-8f5e-b15272df9701:localhost:node-03011673-11dd-433e-8347-2028666bdf2b:Node 03011673-11dd-433e-8347-2028666bdf2b :: true

deleteNodes 1.020s
2021-01-21 21:30:00 |

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

2021-01-21 21:30:00 | ------------------------------------

2021-01-21 21:30:00 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-03011673-11dd-433e-8347-2028666bdf2b</node></data>

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

2021-01-21 21:30:01 | [Mutex] waiting for: [received:nodes:8e57da69-076e-482a-bc2a-8ef10473ab8f:localhost]

2021-01-21 21:30:01 | [Mutex] received everything.

2021-01-21 21:30:01 | [Mutex] isItemNotified: received:node:8e57da69-076e-482a-bc2a-8ef10473ab8f:localhost:node-03011673-11dd-433e-8347-2028666bdf2b:Node 03011673-11dd-433e-8347-2028666bdf2b :: false

deleteSubnodes 1.121s
2021-01-21 21:29:59 |

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

2021-01-21 21:29:59 | ------------------------------------

2021-01-21 21:29:59 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c07e9af2-e099-4deb-92ec-5d958977cb4c</node></data>

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

2021-01-21 21:30:00 | [Mutex] waiting for: [received:nodes:6d7374e9-eff5-488a-90eb-cb08c79d43f3:localhost]

2021-01-21 21:30:00 | [Mutex] received everything.

2021-01-21 21:30:00 | [Mutex] isItemNotified: received:node:6d7374e9-eff5-488a-90eb-cb08c79d43f3:localhost:node-c07e9af2-e099-4deb-92ec-5d958977cb4c:Node c07e9af2-e099-4deb-92ec-5d958977cb4c :: false

2021-01-21 21:30:00 | [Mutex] waiting for: [received:nodes:ccd94cd4-b294-4350-a8d3-02c270565545:localhost]

2021-01-21 21:30:00 | [Mutex] received everything.

2021-01-21 21:30:00 | [Mutex] isItemNotified: received:node:ccd94cd4-b294-4350-a8d3-02c270565545:localhost:node-c07e9af2-e099-4deb-92ec-5d958977cb4c:Node c07e9af2-e099-4deb-92ec-5d958977cb4c :: false

publishItemsToNodes 0.250s
2021-01-21 21:29:57 |

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

2021-01-21 21:29:57 | ------------------------------------

2021-01-21 21:29:57 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-c07e9af2-e099-4deb-92ec-5d958977cb4c</node><item-id>item-1358c28d-c68d-4c8e-a191-50f63151723b</item-id><entry><test>item-1358c28d-c68d-4c8e-a191-50f63151723b</test></entry></data>

2021-01-21 21:29:57 | 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-1358c28d-c68d-4c8e-a191-50f63151723b</value></item-id></result>

2021-01-21 21:29:57 | [Mutex] received everything.

2021-01-21 21:29:57 | [Mutex] isItemNotified: published:item:notifieditem-1358c28d-c68d-4c8e-a191-50f63151723b:admin@test-domain.com :: true

retractItemsFromNodes 0.343s
2021-01-21 21:29:58 |

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

2021-01-21 21:29:58 | ------------------------------------

2021-01-21 21:29:58 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-c07e9af2-e099-4deb-92ec-5d958977cb4c</node><item-id>item-1358c28d-c68d-4c8e-a191-50f63151723b</item-id></data>

2021-01-21 21:29:58 | 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-1358c28d-c68d-4c8e-a191-50f63151723b</value></item-id></result>

2021-01-21 21:29:58 | [Mutex] received everything.

2021-01-21 21:29:58 | [Mutex] isItemNotified: retracted:item:notifieditem-1358c28d-c68d-4c8e-a191-50f63151723b:admin@test-domain.com :: true

retrieveItemsFromNodes 0.324s
2021-01-21 21:29:57 |

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

2021-01-21 21:29:57 | ------------------------------------

2021-01-21 21:29:57 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-c07e9af2-e099-4deb-92ec-5d958977cb4c</node><item-id>item-1358c28d-c68d-4c8e-a191-50f63151723b</item-id></data>

2021-01-21 21:29:57 | 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-c07e9af2-e099-4deb-92ec-5d958977cb4c</value></node><item-id label="Item ID" type="text-single"><value>item-1358c28d-c68d-4c8e-a191-50f63151723b</value></item-id><item label="Item" type="text-multi"><value><item id="item-1358c28d-c68d-4c8e-a191-50f63151723b"><test>item-1358c28d-c68d-4c8e-a191-50f63151723b</test></item></value></item></result>

2021-01-21 21:29:57 | [Mutex] notify: [retrieved:item:item-1358c28d-c68d-4c8e-a191-50f63151723b:payload-matches:true:localhost]

2021-01-21 21:29:57 | [Mutex] received everything.

2021-01-21 21:29:57 | [Mutex] isItemNotified: retrieved:item:item-1358c28d-c68d-4c8e-a191-50f63151723b:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-01-21 21:29:57 |

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

2021-01-21 21:29:57 | ------------------------------------

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

2021-01-21 21:29:58 | 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-c07e9af2-e099-4deb-92ec-5d958977cb4c</value><value>node-03011673-11dd-433e-8347-2028666bdf2b</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2021-01-21 21:29:58 |

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

2021-01-21 21:29:58 | ------------------------------------

2021-01-21 21:29:58 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-c07e9af2-e099-4deb-92ec-5d958977cb4c)</node-pattern></data>

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

subscribeNodes 1.111s
2021-01-21 21:29:56 |

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

2021-01-21 21:29:56 | ------------------------------------

2021-01-21 21:29:56 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-c07e9af2-e099-4deb-92ec-5d958977cb4c</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.296s
2021-01-21 21:29:58 |

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

2021-01-21 21:29:58 | ------------------------------------

2021-01-21 21:29:58 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-c07e9af2-e099-4deb-92ec-5d958977cb4c</node><jids><value>admin@test-domain.com</value></jids></data>

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