Generated by TestNG with ReportNG at 22:18 PDT on Monday 18 July 2022
root@f9c07ffec79b / Java 17.0.2 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

REST: Node and item manipulation using REST API - XML - #4229, #4728

Suites · Log Output

Test duration : 9.382s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.093s
2022-07-18 22:32:10 |

2022-07-18 22:32:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-18 22:32:10 | ------------------------------------

2022-07-18 22:32:10 | [Mutex] waiting for: [configured:node:node-f704eaf9-e7e1-486a-abe2-1a25c0e40edc:node-bd7fc79c-6f01-48e2-b7a3-326e0eb918ba]

2022-07-18 22:32:10 | [Mutex] received everything.

2022-07-18 22:32:10 | [Mutex] isItemNotified: configured:node:node-f704eaf9-e7e1-486a-abe2-1a25c0e40edc:node-bd7fc79c-6f01-48e2-b7a3-326e0eb918ba :: true

2022-07-18 22:32:11 | [Mutex] waiting for: [received:nodes:b9ea5090-d2c1-4852-ba3e-2720681024e5:localhost]

2022-07-18 22:32:11 | [Mutex] received everything.

2022-07-18 22:32:11 | [Mutex] isItemNotified: received:node:b9ea5090-d2c1-4852-ba3e-2720681024e5:localhost:node-f704eaf9-e7e1-486a-abe2-1a25c0e40edc:Node f704eaf9-e7e1-486a-abe2-1a25c0e40edc :: true

2022-07-18 22:32:11 | [Mutex] waiting for: [received:nodes:cd162e63-a896-4db6-b1aa-bef7cff65194:localhost]

2022-07-18 22:32:11 | [Mutex] received everything.

2022-07-18 22:32:11 | [Mutex] isItemNotified: received:node:cd162e63-a896-4db6-b1aa-bef7cff65194:localhost:node-f704eaf9-e7e1-486a-abe2-1a25c0e40edc:Node f704eaf9-e7e1-486a-abe2-1a25c0e40edc :: false

createNodes 1.321s
2022-07-18 22:32:08 |

2022-07-18 22:32:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-18 22:32:08 | ------------------------------------

2022-07-18 22:32:08 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-f704eaf9-e7e1-486a-abe2-1a25c0e40edc</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node f704eaf9-e7e1-486a-abe2-1a25c0e40edc</title></pubsub></data>

2022-07-18 22:32:08 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-18 22:32:09 | [Mutex] waiting for: [received:nodes:a345c39c-1407-42a1-8978-5b712a055f68:localhost]

2022-07-18 22:32:09 | [Mutex] received everything.

2022-07-18 22:32:09 | [Mutex] isItemNotified: received:node:a345c39c-1407-42a1-8978-5b712a055f68:localhost:node-f704eaf9-e7e1-486a-abe2-1a25c0e40edc:Node f704eaf9-e7e1-486a-abe2-1a25c0e40edc :: true

createSubnodes 1.025s
2022-07-18 22:32:09 |

2022-07-18 22:32:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-18 22:32:09 | ------------------------------------

2022-07-18 22:32:09 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-bd7fc79c-6f01-48e2-b7a3-326e0eb918ba</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node bd7fc79c-6f01-48e2-b7a3-326e0eb918ba</title></pubsub></data>

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

2022-07-18 22:32:10 | [Mutex] waiting for: [received:nodes:f2c8316c-bf7f-425f-a0c9-c9edaca27fc6:localhost]

2022-07-18 22:32:10 | [Mutex] received everything.

2022-07-18 22:32:10 | [Mutex] isItemNotified: received:node:f2c8316c-bf7f-425f-a0c9-c9edaca27fc6:localhost:node-bd7fc79c-6f01-48e2-b7a3-326e0eb918ba:Node bd7fc79c-6f01-48e2-b7a3-326e0eb918ba :: true

deleteNodes 1.016s
2022-07-18 22:32:16 |

2022-07-18 22:32:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-18 22:32:16 | ------------------------------------

2022-07-18 22:32:16 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-bd7fc79c-6f01-48e2-b7a3-326e0eb918ba</node></data>

2022-07-18 22:32:16 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-18 22:32:17 | [Mutex] waiting for: [received:nodes:63fa790f-3fc2-47c9-ac69-4be36bdfa571:localhost]

2022-07-18 22:32:17 | [Mutex] waiting for: [received:nodes:63fa790f-3fc2-47c9-ac69-4be36bdfa571:localhost]

2022-07-18 22:32:17 | [Mutex] received everything.

2022-07-18 22:32:17 | [Mutex] isItemNotified: received:node:63fa790f-3fc2-47c9-ac69-4be36bdfa571:localhost:node-bd7fc79c-6f01-48e2-b7a3-326e0eb918ba:Node bd7fc79c-6f01-48e2-b7a3-326e0eb918ba :: false

deleteSubnodes 1.120s
2022-07-18 22:32:15 |

2022-07-18 22:32:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-18 22:32:15 | ------------------------------------

2022-07-18 22:32:15 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-f704eaf9-e7e1-486a-abe2-1a25c0e40edc</node></data>

2022-07-18 22:32:15 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-18 22:32:16 | [Mutex] waiting for: [received:nodes:28f8fbfb-6cbe-46d4-8783-3f999b8f42a2:localhost]

2022-07-18 22:32:16 | [Mutex] waiting for: [received:nodes:28f8fbfb-6cbe-46d4-8783-3f999b8f42a2:localhost]

2022-07-18 22:32:16 | [Mutex] received everything.

2022-07-18 22:32:16 | [Mutex] isItemNotified: received:node:28f8fbfb-6cbe-46d4-8783-3f999b8f42a2:localhost:node-f704eaf9-e7e1-486a-abe2-1a25c0e40edc:Node f704eaf9-e7e1-486a-abe2-1a25c0e40edc :: false

2022-07-18 22:32:16 | [Mutex] waiting for: [received:nodes:18c2c837-471d-4f0d-9353-01463f7ab1ba:localhost]

2022-07-18 22:32:16 | [Mutex] received everything.

2022-07-18 22:32:16 | [Mutex] isItemNotified: received:node:18c2c837-471d-4f0d-9353-01463f7ab1ba:localhost:node-f704eaf9-e7e1-486a-abe2-1a25c0e40edc:Node f704eaf9-e7e1-486a-abe2-1a25c0e40edc :: false

publishItemsToNodes 0.178s
2022-07-18 22:32:12 |

2022-07-18 22:32:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-18 22:32:12 | ------------------------------------

2022-07-18 22:32:12 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-f704eaf9-e7e1-486a-abe2-1a25c0e40edc</node><item-id>item-62060fec-2fde-4219-9995-36d9e74a11df</item-id><entry><test>item-62060fec-2fde-4219-9995-36d9e74a11df</test></entry></data>

2022-07-18 22:32:13 | 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-62060fec-2fde-4219-9995-36d9e74a11df</value></item-id></result>

2022-07-18 22:32:13 | [Mutex] waiting for: [published:item:notifieditem-62060fec-2fde-4219-9995-36d9e74a11df:admin@test-domain.com]

2022-07-18 22:32:13 | [Mutex] received everything.

2022-07-18 22:32:13 | [Mutex] isItemNotified: published:item:notifieditem-62060fec-2fde-4219-9995-36d9e74a11df:admin@test-domain.com :: true

retractItemsFromNodes 0.287s
2022-07-18 22:32:13 |

2022-07-18 22:32:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-18 22:32:13 | ------------------------------------

2022-07-18 22:32:13 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-f704eaf9-e7e1-486a-abe2-1a25c0e40edc</node><item-id>item-62060fec-2fde-4219-9995-36d9e74a11df</item-id></data>

2022-07-18 22:32:13 | 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-62060fec-2fde-4219-9995-36d9e74a11df</value></item-id></result>

2022-07-18 22:32:13 | [Mutex] received everything.

2022-07-18 22:32:13 | [Mutex] isItemNotified: retracted:item:notifieditem-62060fec-2fde-4219-9995-36d9e74a11df:admin@test-domain.com :: true

retrieveItemsFromNodes 0.325s
2022-07-18 22:32:13 |

2022-07-18 22:32:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-18 22:32:13 | ------------------------------------

2022-07-18 22:32:13 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-f704eaf9-e7e1-486a-abe2-1a25c0e40edc</node><item-id>item-62060fec-2fde-4219-9995-36d9e74a11df</item-id></data>

2022-07-18 22:32:13 | 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-f704eaf9-e7e1-486a-abe2-1a25c0e40edc</value></node><item-id type="text-single" label="Item ID"><value>item-62060fec-2fde-4219-9995-36d9e74a11df</value></item-id><item type="text-multi" label="Item"><value><item id="item-62060fec-2fde-4219-9995-36d9e74a11df"><test>item-62060fec-2fde-4219-9995-36d9e74a11df</test></item></value></item></result>

2022-07-18 22:32:13 | [Mutex] notify: [retrieved:item:item-62060fec-2fde-4219-9995-36d9e74a11df:payload-matches:true:localhost]

2022-07-18 22:32:13 | [Mutex] received everything.

2022-07-18 22:32:13 | [Mutex] isItemNotified: retrieved:item:item-62060fec-2fde-4219-9995-36d9e74a11df:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-07-18 22:32:13 |

2022-07-18 22:32:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-18 22:32:13 | ------------------------------------

2022-07-18 22:32:13 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-07-18 22:32:13 | 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-f704eaf9-e7e1-486a-abe2-1a25c0e40edc</value><value>node-bd7fc79c-6f01-48e2-b7a3-326e0eb918ba</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.057s
2022-07-18 22:32:13 |

2022-07-18 22:32:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-18 22:32:13 | ------------------------------------

2022-07-18 22:32:13 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-f704eaf9-e7e1-486a-abe2-1a25c0e40edc)</node-pattern></data>

2022-07-18 22:32:13 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.113s
2022-07-18 22:32:11 |

2022-07-18 22:32:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-18 22:32:11 | ------------------------------------

2022-07-18 22:32:11 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-f704eaf9-e7e1-486a-abe2-1a25c0e40edc</node><jids><value>admin@test-domain.com</value></jids></data>

2022-07-18 22:32:11 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.195s
2022-07-18 22:32:13 |

2022-07-18 22:32:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-18 22:32:13 | ------------------------------------

2022-07-18 22:32:13 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-f704eaf9-e7e1-486a-abe2-1a25c0e40edc</node><jids><value>admin@test-domain.com</value></jids></data>

2022-07-18 22:32:14 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>