Generated by TestNG with ReportNG at 09:45 PDT on Thursday 27 May 2021
root@785cf647a4ab / 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.535s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.116s
2021-05-27 10:02:02 |

2021-05-27 10:02:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 10:02:02 | ------------------------------------

2021-05-27 10:02:02 | [Mutex] waiting for: [configured:node:node-0f64a363-3cab-4c45-b2f3-777beaf8c9b4:node-491e479b-d095-4566-baad-371bae329854]

2021-05-27 10:02:02 | [Mutex] received everything.

2021-05-27 10:02:02 | [Mutex] isItemNotified: configured:node:node-0f64a363-3cab-4c45-b2f3-777beaf8c9b4:node-491e479b-d095-4566-baad-371bae329854 :: true

2021-05-27 10:02:03 | [Mutex] waiting for: [received:nodes:9d3035d0-53bc-46af-9986-12d1c7bc91bd:localhost]

2021-05-27 10:02:03 | [Mutex] received everything.

2021-05-27 10:02:03 | [Mutex] isItemNotified: received:node:9d3035d0-53bc-46af-9986-12d1c7bc91bd:localhost:node-0f64a363-3cab-4c45-b2f3-777beaf8c9b4:Node 0f64a363-3cab-4c45-b2f3-777beaf8c9b4 :: true

2021-05-27 10:02:03 | [Mutex] waiting for: [received:nodes:09f0e237-f748-43bf-9cb5-10f4e7729d5f:localhost]

2021-05-27 10:02:03 | [Mutex] received everything.

2021-05-27 10:02:03 | [Mutex] isItemNotified: received:node:09f0e237-f748-43bf-9cb5-10f4e7729d5f:localhost:node-0f64a363-3cab-4c45-b2f3-777beaf8c9b4:Node 0f64a363-3cab-4c45-b2f3-777beaf8c9b4 :: false

createNodes 1.735s
2021-05-27 10:01:59 |

2021-05-27 10:01:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 10:01:59 | ------------------------------------

2021-05-27 10:01:59 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-0f64a363-3cab-4c45-b2f3-777beaf8c9b4</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 0f64a363-3cab-4c45-b2f3-777beaf8c9b4</title></pubsub></data>

2021-05-27 10:02:00 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-05-27 10:02:01 | [Mutex] waiting for: [received:nodes:3f91e553-6227-4277-aab0-f0c6ce18632b:localhost]

2021-05-27 10:02:01 | [Mutex] received everything.

2021-05-27 10:02:01 | [Mutex] isItemNotified: received:node:3f91e553-6227-4277-aab0-f0c6ce18632b:localhost:node-0f64a363-3cab-4c45-b2f3-777beaf8c9b4:Node 0f64a363-3cab-4c45-b2f3-777beaf8c9b4 :: true

createSubnodes 1.035s
2021-05-27 10:02:01 |

2021-05-27 10:02:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 10:02:01 | ------------------------------------

2021-05-27 10:02:01 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-491e479b-d095-4566-baad-371bae329854</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 491e479b-d095-4566-baad-371bae329854</title></pubsub></data>

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

2021-05-27 10:02:02 | [Mutex] waiting for: [received:nodes:365abaf7-ec1d-490b-ba59-f5f35ff1d22e:localhost]

2021-05-27 10:02:02 | [Mutex] received everything.

2021-05-27 10:02:02 | [Mutex] isItemNotified: received:node:365abaf7-ec1d-490b-ba59-f5f35ff1d22e:localhost:node-491e479b-d095-4566-baad-371bae329854:Node 491e479b-d095-4566-baad-371bae329854 :: true

deleteNodes 1.024s
2021-05-27 10:02:08 |

2021-05-27 10:02:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 10:02:08 | ------------------------------------

2021-05-27 10:02:08 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-491e479b-d095-4566-baad-371bae329854</node></data>

2021-05-27 10:02:08 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-05-27 10:02:09 | [Mutex] waiting for: [received:nodes:48410d46-eb1c-4264-a99b-dfc948c532ba:localhost]

2021-05-27 10:02:09 | [Mutex] received everything.

2021-05-27 10:02:09 | [Mutex] isItemNotified: received:node:48410d46-eb1c-4264-a99b-dfc948c532ba:localhost:node-491e479b-d095-4566-baad-371bae329854:Node 491e479b-d095-4566-baad-371bae329854 :: false

deleteSubnodes 1.147s
2021-05-27 10:02:06 |

2021-05-27 10:02:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 10:02:06 | ------------------------------------

2021-05-27 10:02:06 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-0f64a363-3cab-4c45-b2f3-777beaf8c9b4</node></data>

2021-05-27 10:02:07 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-05-27 10:02:08 | [Mutex] waiting for: [received:nodes:44fc9039-7b46-4374-9ac2-70d91ec0705d:localhost]

2021-05-27 10:02:08 | [Mutex] received everything.

2021-05-27 10:02:08 | [Mutex] isItemNotified: received:node:44fc9039-7b46-4374-9ac2-70d91ec0705d:localhost:node-0f64a363-3cab-4c45-b2f3-777beaf8c9b4:Node 0f64a363-3cab-4c45-b2f3-777beaf8c9b4 :: false

2021-05-27 10:02:08 | [Mutex] waiting for: [received:nodes:033f9ce2-5d27-4eee-9a20-14ee931c71b8:localhost]

2021-05-27 10:02:08 | [Mutex] received everything.

2021-05-27 10:02:08 | [Mutex] isItemNotified: received:node:033f9ce2-5d27-4eee-9a20-14ee931c71b8:localhost:node-0f64a363-3cab-4c45-b2f3-777beaf8c9b4:Node 0f64a363-3cab-4c45-b2f3-777beaf8c9b4 :: false

publishItemsToNodes 0.250s
2021-05-27 10:02:04 |

2021-05-27 10:02:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 10:02:04 | ------------------------------------

2021-05-27 10:02:04 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-0f64a363-3cab-4c45-b2f3-777beaf8c9b4</node><item-id>item-a691acf7-5464-4ec2-9db6-37b986eab593</item-id><entry><test>item-a691acf7-5464-4ec2-9db6-37b986eab593</test></entry></data>

2021-05-27 10:02:04 | 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-a691acf7-5464-4ec2-9db6-37b986eab593</value></item-id></result>

2021-05-27 10:02:04 | [Mutex] waiting for: [published:item:notifieditem-a691acf7-5464-4ec2-9db6-37b986eab593:admin@test-domain.com]

2021-05-27 10:02:04 | [Mutex] received everything.

2021-05-27 10:02:04 | [Mutex] isItemNotified: published:item:notifieditem-a691acf7-5464-4ec2-9db6-37b986eab593:admin@test-domain.com :: true

retractItemsFromNodes 0.267s
2021-05-27 10:02:05 |

2021-05-27 10:02:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 10:02:05 | ------------------------------------

2021-05-27 10:02:05 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-0f64a363-3cab-4c45-b2f3-777beaf8c9b4</node><item-id>item-a691acf7-5464-4ec2-9db6-37b986eab593</item-id></data>

2021-05-27 10:02:05 | 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-a691acf7-5464-4ec2-9db6-37b986eab593</value></item-id></result>

2021-05-27 10:02:05 | [Mutex] received everything.

2021-05-27 10:02:05 | [Mutex] isItemNotified: retracted:item:notifieditem-a691acf7-5464-4ec2-9db6-37b986eab593:admin@test-domain.com :: true

retrieveItemsFromNodes 0.314s
2021-05-27 10:02:04 |

2021-05-27 10:02:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 10:02:04 | ------------------------------------

2021-05-27 10:02:04 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-0f64a363-3cab-4c45-b2f3-777beaf8c9b4</node><item-id>item-a691acf7-5464-4ec2-9db6-37b986eab593</item-id></data>

2021-05-27 10:02:05 | 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-0f64a363-3cab-4c45-b2f3-777beaf8c9b4</value></node><item-id type="text-single" label="Item ID"><value>item-a691acf7-5464-4ec2-9db6-37b986eab593</value></item-id><item type="text-multi" label="Item"><value><item id="item-a691acf7-5464-4ec2-9db6-37b986eab593"><test>item-a691acf7-5464-4ec2-9db6-37b986eab593</test></item></value></item></result>

2021-05-27 10:02:05 | [Mutex] notify: [retrieved:item:item-a691acf7-5464-4ec2-9db6-37b986eab593:payload-matches:true:localhost]

2021-05-27 10:02:05 | [Mutex] received everything.

2021-05-27 10:02:05 | [Mutex] isItemNotified: retrieved:item:item-a691acf7-5464-4ec2-9db6-37b986eab593:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-05-27 10:02:05 |

2021-05-27 10:02:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 10:02:05 | ------------------------------------

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

2021-05-27 10:02:05 | 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-491e479b-d095-4566-baad-371bae329854</value><value>node-0f64a363-3cab-4c45-b2f3-777beaf8c9b4</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-05-27 10:02:05 |

2021-05-27 10:02:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 10:02:05 | ------------------------------------

2021-05-27 10:02:05 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-0f64a363-3cab-4c45-b2f3-777beaf8c9b4)</node-pattern></data>

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

subscribeNodes 1.204s
2021-05-27 10:02:03 |

2021-05-27 10:02:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 10:02:03 | ------------------------------------

2021-05-27 10:02:03 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-0f64a363-3cab-4c45-b2f3-777beaf8c9b4</node><jids><value>admin@test-domain.com</value></jids></data>

2021-05-27 10:02:03 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.347s
2021-05-27 10:02:05 |

2021-05-27 10:02:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-27 10:02:05 | ------------------------------------

2021-05-27 10:02:05 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-0f64a363-3cab-4c45-b2f3-777beaf8c9b4</node><jids><value>admin@test-domain.com</value></jids></data>

2021-05-27 10:02:05 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>