Generated by TestNG with ReportNG at 22:35 PDT on Wednesday 22 September 2021
root@f29ef40080b5 / 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.305s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.119s
2021-09-22 22:52:57 |

2021-09-22 22:52:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-22 22:52:57 | ------------------------------------

2021-09-22 22:52:57 | [Mutex] waiting for: [configured:node:node-279a873d-5c8d-451c-bee0-1fc836aafa55:node-64bb4317-7b46-4cba-9101-5986d83df0a9]

2021-09-22 22:52:57 | [Mutex] received everything.

2021-09-22 22:52:57 | [Mutex] isItemNotified: configured:node:node-279a873d-5c8d-451c-bee0-1fc836aafa55:node-64bb4317-7b46-4cba-9101-5986d83df0a9 :: true

2021-09-22 22:52:58 | [Mutex] waiting for: [received:nodes:d110c119-58ae-48c6-8f4e-4d14f8576b5c:localhost]

2021-09-22 22:52:58 | [Mutex] received everything.

2021-09-22 22:52:58 | [Mutex] isItemNotified: received:node:d110c119-58ae-48c6-8f4e-4d14f8576b5c:localhost:node-279a873d-5c8d-451c-bee0-1fc836aafa55:Node 279a873d-5c8d-451c-bee0-1fc836aafa55 :: true

2021-09-22 22:52:58 | [Mutex] waiting for: [received:nodes:611de526-3db8-453c-b7e8-803b2e4aebaf:localhost]

2021-09-22 22:52:58 | [Mutex] waiting for: [received:nodes:611de526-3db8-453c-b7e8-803b2e4aebaf:localhost]

2021-09-22 22:52:58 | [Mutex] waiting for: [received:nodes:611de526-3db8-453c-b7e8-803b2e4aebaf:localhost]

2021-09-22 22:52:58 | [Mutex] received everything.

2021-09-22 22:52:58 | [Mutex] isItemNotified: received:node:611de526-3db8-453c-b7e8-803b2e4aebaf:localhost:node-279a873d-5c8d-451c-bee0-1fc836aafa55:Node 279a873d-5c8d-451c-bee0-1fc836aafa55 :: false

createNodes 1.530s
2021-09-22 22:52:54 |

2021-09-22 22:52:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-22 22:52:54 | ------------------------------------

2021-09-22 22:52:54 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-279a873d-5c8d-451c-bee0-1fc836aafa55</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 279a873d-5c8d-451c-bee0-1fc836aafa55</title></pubsub></data>

2021-09-22 22:52:55 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-09-22 22:52:56 | [Mutex] waiting for: [received:nodes:f143f677-d845-467c-bfae-c57bce21cd6e:localhost]

2021-09-22 22:52:56 | [Mutex] received everything.

2021-09-22 22:52:56 | [Mutex] isItemNotified: received:node:f143f677-d845-467c-bfae-c57bce21cd6e:localhost:node-279a873d-5c8d-451c-bee0-1fc836aafa55:Node 279a873d-5c8d-451c-bee0-1fc836aafa55 :: true

createSubnodes 1.028s
2021-09-22 22:52:56 |

2021-09-22 22:52:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-22 22:52:56 | ------------------------------------

2021-09-22 22:52:56 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-64bb4317-7b46-4cba-9101-5986d83df0a9</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 64bb4317-7b46-4cba-9101-5986d83df0a9</title></pubsub></data>

2021-09-22 22:52:56 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-09-22 22:52:57 | [Mutex] waiting for: [received:nodes:0b842f06-8121-4fee-893f-38c8c63c72ad:localhost]

2021-09-22 22:52:57 | [Mutex] received everything.

2021-09-22 22:52:57 | [Mutex] isItemNotified: received:node:0b842f06-8121-4fee-893f-38c8c63c72ad:localhost:node-64bb4317-7b46-4cba-9101-5986d83df0a9:Node 64bb4317-7b46-4cba-9101-5986d83df0a9 :: true

deleteNodes 1.026s
2021-09-22 22:53:03 |

2021-09-22 22:53:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-22 22:53:03 | ------------------------------------

2021-09-22 22:53:03 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-64bb4317-7b46-4cba-9101-5986d83df0a9</node></data>

2021-09-22 22:53:03 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-09-22 22:53:04 | [Mutex] waiting for: [received:nodes:ffb221d6-11a2-4c8f-884f-9b70ab621dba:localhost]

2021-09-22 22:53:04 | [Mutex] received everything.

2021-09-22 22:53:04 | [Mutex] isItemNotified: received:node:ffb221d6-11a2-4c8f-884f-9b70ab621dba:localhost:node-64bb4317-7b46-4cba-9101-5986d83df0a9:Node 64bb4317-7b46-4cba-9101-5986d83df0a9 :: false

deleteSubnodes 1.158s
2021-09-22 22:53:02 |

2021-09-22 22:53:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-22 22:53:02 | ------------------------------------

2021-09-22 22:53:02 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-279a873d-5c8d-451c-bee0-1fc836aafa55</node></data>

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

2021-09-22 22:53:03 | [Mutex] waiting for: [received:nodes:98da4bfd-d551-4f97-84d4-2f53e97d9c2e:localhost]

2021-09-22 22:53:03 | [Mutex] received everything.

2021-09-22 22:53:03 | [Mutex] isItemNotified: received:node:98da4bfd-d551-4f97-84d4-2f53e97d9c2e:localhost:node-279a873d-5c8d-451c-bee0-1fc836aafa55:Node 279a873d-5c8d-451c-bee0-1fc836aafa55 :: false

2021-09-22 22:53:03 | [Mutex] waiting for: [received:nodes:c0c2d495-cbae-4dce-ab0b-feabd7e8c99f:localhost]

2021-09-22 22:53:03 | [Mutex] received everything.

2021-09-22 22:53:03 | [Mutex] isItemNotified: received:node:c0c2d495-cbae-4dce-ab0b-feabd7e8c99f:localhost:node-279a873d-5c8d-451c-bee0-1fc836aafa55:Node 279a873d-5c8d-451c-bee0-1fc836aafa55 :: false

publishItemsToNodes 0.301s
2021-09-22 22:52:59 |

2021-09-22 22:52:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-22 22:52:59 | ------------------------------------

2021-09-22 22:52:59 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-279a873d-5c8d-451c-bee0-1fc836aafa55</node><item-id>item-9a5cf774-8e85-45db-9ac7-dc61c33efc5d</item-id><entry><test>item-9a5cf774-8e85-45db-9ac7-dc61c33efc5d</test></entry></data>

2021-09-22 22:53:00 | 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-9a5cf774-8e85-45db-9ac7-dc61c33efc5d</value></item-id></result>

2021-09-22 22:53:00 | [Mutex] received everything.

2021-09-22 22:53:00 | [Mutex] isItemNotified: published:item:notifieditem-9a5cf774-8e85-45db-9ac7-dc61c33efc5d:admin@test-domain.com :: true

retractItemsFromNodes 0.286s
2021-09-22 22:53:00 |

2021-09-22 22:53:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-22 22:53:00 | ------------------------------------

2021-09-22 22:53:00 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-279a873d-5c8d-451c-bee0-1fc836aafa55</node><item-id>item-9a5cf774-8e85-45db-9ac7-dc61c33efc5d</item-id></data>

2021-09-22 22:53:00 | 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-9a5cf774-8e85-45db-9ac7-dc61c33efc5d</value></item-id></result>

2021-09-22 22:53:00 | [Mutex] received everything.

2021-09-22 22:53:00 | [Mutex] isItemNotified: retracted:item:notifieditem-9a5cf774-8e85-45db-9ac7-dc61c33efc5d:admin@test-domain.com :: true

retrieveItemsFromNodes 0.343s
2021-09-22 22:53:00 |

2021-09-22 22:53:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-22 22:53:00 | ------------------------------------

2021-09-22 22:53:00 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-279a873d-5c8d-451c-bee0-1fc836aafa55</node><item-id>item-9a5cf774-8e85-45db-9ac7-dc61c33efc5d</item-id></data>

2021-09-22 22:53:00 | 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-279a873d-5c8d-451c-bee0-1fc836aafa55</value></node><item-id type="text-single" label="Item ID"><value>item-9a5cf774-8e85-45db-9ac7-dc61c33efc5d</value></item-id><item type="text-multi" label="Item"><value><item id="item-9a5cf774-8e85-45db-9ac7-dc61c33efc5d"><test>item-9a5cf774-8e85-45db-9ac7-dc61c33efc5d</test></item></value></item></result>

2021-09-22 22:53:00 | [Mutex] notify: [retrieved:item:item-9a5cf774-8e85-45db-9ac7-dc61c33efc5d:payload-matches:true:localhost]

2021-09-22 22:53:00 | [Mutex] received everything.

2021-09-22 22:53:00 | [Mutex] isItemNotified: retrieved:item:item-9a5cf774-8e85-45db-9ac7-dc61c33efc5d:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2021-09-22 22:53:00 |

2021-09-22 22:53:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-22 22:53:00 | ------------------------------------

2021-09-22 22:53:00 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-09-22 22:53:00 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-64bb4317-7b46-4cba-9101-5986d83df0a9</value><value>test</value><value>node-279a873d-5c8d-451c-bee0-1fc836aafa55</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-09-22 22:53:00 |

2021-09-22 22:53:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-22 22:53:00 | ------------------------------------

2021-09-22 22:53:00 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-279a873d-5c8d-451c-bee0-1fc836aafa55)</node-pattern></data>

2021-09-22 22:53:00 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.171s
2021-09-22 22:52:58 |

2021-09-22 22:52:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-22 22:52:58 | ------------------------------------

2021-09-22 22:52:58 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-279a873d-5c8d-451c-bee0-1fc836aafa55</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.310s
2021-09-22 22:53:00 |

2021-09-22 22:53:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-22 22:53:00 | ------------------------------------

2021-09-22 22:53:00 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-279a873d-5c8d-451c-bee0-1fc836aafa55</node><jids><value>admin@test-domain.com</value></jids></data>

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