Generated by TestNG with ReportNG at 23:11 PDT on Friday 04 September 2020
root@55161683a995 / 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.875s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.096s
2020-09-04 23:26:04 |

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

2020-09-04 23:26:04 | ------------------------------------

2020-09-04 23:26:04 | [Mutex] waiting for: [configured:node:node-22b7f08b-0273-478b-9ff7-366642d65533:node-bb2d4e56-b93e-43d7-9f0b-51950051bf60]

2020-09-04 23:26:04 | [Mutex] received everything.

2020-09-04 23:26:04 | [Mutex] isItemNotified: configured:node:node-22b7f08b-0273-478b-9ff7-366642d65533:node-bb2d4e56-b93e-43d7-9f0b-51950051bf60 :: true

2020-09-04 23:26:05 | [Mutex] waiting for: [received:nodes:286b387a-3ed8-483b-96d1-a76bdd3037a8:localhost]

2020-09-04 23:26:05 | [Mutex] received everything.

2020-09-04 23:26:05 | [Mutex] isItemNotified: received:node:286b387a-3ed8-483b-96d1-a76bdd3037a8:localhost:node-22b7f08b-0273-478b-9ff7-366642d65533:Node 22b7f08b-0273-478b-9ff7-366642d65533 :: true

2020-09-04 23:26:05 | [Mutex] waiting for: [received:nodes:b6e820bb-a94c-4afc-add6-6f8e0cd02b3b:localhost]

2020-09-04 23:26:05 | [Mutex] received everything.

2020-09-04 23:26:05 | [Mutex] isItemNotified: received:node:b6e820bb-a94c-4afc-add6-6f8e0cd02b3b:localhost:node-22b7f08b-0273-478b-9ff7-366642d65533:Node 22b7f08b-0273-478b-9ff7-366642d65533 :: false

createNodes 1.395s
2020-09-04 23:26:02 |

2020-09-04 23:26:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-04 23:26:02 | ------------------------------------

2020-09-04 23:26:02 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-22b7f08b-0273-478b-9ff7-366642d65533</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 22b7f08b-0273-478b-9ff7-366642d65533</title></pubsub></data>

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

2020-09-04 23:26:03 | [Mutex] waiting for: [received:nodes:c3e1c62b-75a1-411c-954d-5626f7dd17dc:localhost]

2020-09-04 23:26:03 | [Mutex] received everything.

2020-09-04 23:26:03 | [Mutex] isItemNotified: received:node:c3e1c62b-75a1-411c-954d-5626f7dd17dc:localhost:node-22b7f08b-0273-478b-9ff7-366642d65533:Node 22b7f08b-0273-478b-9ff7-366642d65533 :: true

createSubnodes 1.027s
2020-09-04 23:26:03 |

2020-09-04 23:26:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-04 23:26:03 | ------------------------------------

2020-09-04 23:26:03 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-bb2d4e56-b93e-43d7-9f0b-51950051bf60</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node bb2d4e56-b93e-43d7-9f0b-51950051bf60</title></pubsub></data>

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

2020-09-04 23:26:04 | [Mutex] waiting for: [received:nodes:6ee21ce2-16d3-4c11-afb4-62543a235be4:localhost]

2020-09-04 23:26:04 | [Mutex] received everything.

2020-09-04 23:26:04 | [Mutex] isItemNotified: received:node:6ee21ce2-16d3-4c11-afb4-62543a235be4:localhost:node-bb2d4e56-b93e-43d7-9f0b-51950051bf60:Node bb2d4e56-b93e-43d7-9f0b-51950051bf60 :: true

deleteNodes 1.020s
2020-09-04 23:26:10 |

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

2020-09-04 23:26:10 | ------------------------------------

2020-09-04 23:26:10 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-bb2d4e56-b93e-43d7-9f0b-51950051bf60</node></data>

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

2020-09-04 23:26:11 | [Mutex] waiting for: [received:nodes:b3ea5268-fc35-4ac9-acbe-003252de1947:localhost]

2020-09-04 23:26:11 | [Mutex] received everything.

2020-09-04 23:26:11 | [Mutex] isItemNotified: received:node:b3ea5268-fc35-4ac9-acbe-003252de1947:localhost:node-bb2d4e56-b93e-43d7-9f0b-51950051bf60:Node bb2d4e56-b93e-43d7-9f0b-51950051bf60 :: false

deleteSubnodes 1.138s
2020-09-04 23:26:09 |

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

2020-09-04 23:26:09 | ------------------------------------

2020-09-04 23:26:09 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-22b7f08b-0273-478b-9ff7-366642d65533</node></data>

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

2020-09-04 23:26:10 | [Mutex] waiting for: [received:nodes:4df069dd-4a74-4f07-9abb-96b49dae4deb:localhost]

2020-09-04 23:26:10 | [Mutex] waiting for: [received:nodes:4df069dd-4a74-4f07-9abb-96b49dae4deb:localhost]

2020-09-04 23:26:10 | [Mutex] received everything.

2020-09-04 23:26:10 | [Mutex] isItemNotified: received:node:4df069dd-4a74-4f07-9abb-96b49dae4deb:localhost:node-22b7f08b-0273-478b-9ff7-366642d65533:Node 22b7f08b-0273-478b-9ff7-366642d65533 :: false

2020-09-04 23:26:10 | [Mutex] waiting for: [received:nodes:c9ae51ee-eb08-4587-ba65-ffbec20170ff:localhost]

2020-09-04 23:26:10 | [Mutex] received everything.

2020-09-04 23:26:10 | [Mutex] isItemNotified: received:node:c9ae51ee-eb08-4587-ba65-ffbec20170ff:localhost:node-22b7f08b-0273-478b-9ff7-366642d65533:Node 22b7f08b-0273-478b-9ff7-366642d65533 :: false

publishItemsToNodes 0.241s
2020-09-04 23:26:06 |

2020-09-04 23:26:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-04 23:26:06 | ------------------------------------

2020-09-04 23:26:06 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-22b7f08b-0273-478b-9ff7-366642d65533</node><item-id>item-8dcd73e2-c0f5-49cf-86ff-15119d26ab94</item-id><entry><test>item-8dcd73e2-c0f5-49cf-86ff-15119d26ab94</test></entry></data>

2020-09-04 23:26:07 | 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-8dcd73e2-c0f5-49cf-86ff-15119d26ab94</value></item-id></result>

2020-09-04 23:26:07 | [Mutex] waiting for: [published:item:notifieditem-8dcd73e2-c0f5-49cf-86ff-15119d26ab94:admin@test-domain.com]

2020-09-04 23:26:07 | [Mutex] received everything.

2020-09-04 23:26:07 | [Mutex] isItemNotified: published:item:notifieditem-8dcd73e2-c0f5-49cf-86ff-15119d26ab94:admin@test-domain.com :: true

retractItemsFromNodes 0.307s
2020-09-04 23:26:07 |

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

2020-09-04 23:26:07 | ------------------------------------

2020-09-04 23:26:07 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-22b7f08b-0273-478b-9ff7-366642d65533</node><item-id>item-8dcd73e2-c0f5-49cf-86ff-15119d26ab94</item-id></data>

2020-09-04 23:26:07 | 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-8dcd73e2-c0f5-49cf-86ff-15119d26ab94</value></item-id></result>

2020-09-04 23:26:07 | [Mutex] received everything.

2020-09-04 23:26:07 | [Mutex] isItemNotified: retracted:item:notifieditem-8dcd73e2-c0f5-49cf-86ff-15119d26ab94:admin@test-domain.com :: true

retrieveItemsFromNodes 0.309s
2020-09-04 23:26:07 |

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

2020-09-04 23:26:07 | ------------------------------------

2020-09-04 23:26:07 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-22b7f08b-0273-478b-9ff7-366642d65533</node><item-id>item-8dcd73e2-c0f5-49cf-86ff-15119d26ab94</item-id></data>

2020-09-04 23:26:07 | 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-22b7f08b-0273-478b-9ff7-366642d65533</value></node><item-id type="text-single" label="Item ID"><value>item-8dcd73e2-c0f5-49cf-86ff-15119d26ab94</value></item-id><item type="text-multi" label="Item"><value><item id="item-8dcd73e2-c0f5-49cf-86ff-15119d26ab94"><test>item-8dcd73e2-c0f5-49cf-86ff-15119d26ab94</test></item></value></item></result>

2020-09-04 23:26:07 | [Mutex] notify: [retrieved:item:item-8dcd73e2-c0f5-49cf-86ff-15119d26ab94:payload-matches:true:localhost]

2020-09-04 23:26:07 | [Mutex] received everything.

2020-09-04 23:26:07 | [Mutex] isItemNotified: retrieved:item:item-8dcd73e2-c0f5-49cf-86ff-15119d26ab94:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2020-09-04 23:26:07 |

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

2020-09-04 23:26:07 | ------------------------------------

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

2020-09-04 23:26:07 | 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-bb2d4e56-b93e-43d7-9f0b-51950051bf60</value><value>node-22b7f08b-0273-478b-9ff7-366642d65533</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2020-09-04 23:26:07 |

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

2020-09-04 23:26:07 | ------------------------------------

2020-09-04 23:26:07 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-22b7f08b-0273-478b-9ff7-366642d65533)</node-pattern></data>

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

subscribeNodes 1.105s
2020-09-04 23:26:05 |

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

2020-09-04 23:26:05 | ------------------------------------

2020-09-04 23:26:05 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-22b7f08b-0273-478b-9ff7-366642d65533</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-04 23:26:05 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.211s
2020-09-04 23:26:07 |

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

2020-09-04 23:26:07 | ------------------------------------

2020-09-04 23:26:07 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-22b7f08b-0273-478b-9ff7-366642d65533</node><jids><value>admin@test-domain.com</value></jids></data>

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