Generated by TestNG with ReportNG at 22:22 PDT on Sunday 08 May 2022
root@61c39d2ed70d / Java 17.0.2 (Private Build) / 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.601s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.085s
2022-05-08 22:38:04 |

2022-05-08 22:38:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-08 22:38:04 | ------------------------------------

2022-05-08 22:38:04 | [Mutex] waiting for: [configured:node:node-ec5d2068-c24c-4186-8b9f-012981ff5ae9:node-db471ae3-b01d-4aab-92af-ed5aae4aaabf]

2022-05-08 22:38:04 | [Mutex] received everything.

2022-05-08 22:38:04 | [Mutex] isItemNotified: configured:node:node-ec5d2068-c24c-4186-8b9f-012981ff5ae9:node-db471ae3-b01d-4aab-92af-ed5aae4aaabf :: true

2022-05-08 22:38:05 | [Mutex] waiting for: [received:nodes:aaf7f4b2-452f-4dce-b0bf-94237a3c80a5:localhost]

2022-05-08 22:38:05 | [Mutex] received everything.

2022-05-08 22:38:05 | [Mutex] isItemNotified: received:node:aaf7f4b2-452f-4dce-b0bf-94237a3c80a5:localhost:node-ec5d2068-c24c-4186-8b9f-012981ff5ae9:Node ec5d2068-c24c-4186-8b9f-012981ff5ae9 :: true

2022-05-08 22:38:05 | [Mutex] waiting for: [received:nodes:288f25f0-5764-4d2e-987d-3bcab0fb13fc:localhost]

2022-05-08 22:38:05 | [Mutex] waiting for: [received:nodes:288f25f0-5764-4d2e-987d-3bcab0fb13fc:localhost]

2022-05-08 22:38:05 | [Mutex] waiting for: [received:nodes:288f25f0-5764-4d2e-987d-3bcab0fb13fc:localhost]

2022-05-08 22:38:05 | [Mutex] received everything.

2022-05-08 22:38:05 | [Mutex] isItemNotified: received:node:288f25f0-5764-4d2e-987d-3bcab0fb13fc:localhost:node-ec5d2068-c24c-4186-8b9f-012981ff5ae9:Node ec5d2068-c24c-4186-8b9f-012981ff5ae9 :: false

createNodes 1.384s
2022-05-08 22:38:01 |

2022-05-08 22:38:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-08 22:38:01 | ------------------------------------

2022-05-08 22:38:01 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-ec5d2068-c24c-4186-8b9f-012981ff5ae9</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node ec5d2068-c24c-4186-8b9f-012981ff5ae9</title></pubsub></data>

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

2022-05-08 22:38:03 | [Mutex] waiting for: [received:nodes:26c688ce-8b69-4352-851e-dd44143b6912:localhost]

2022-05-08 22:38:03 | [Mutex] received everything.

2022-05-08 22:38:03 | [Mutex] isItemNotified: received:node:26c688ce-8b69-4352-851e-dd44143b6912:localhost:node-ec5d2068-c24c-4186-8b9f-012981ff5ae9:Node ec5d2068-c24c-4186-8b9f-012981ff5ae9 :: true

createSubnodes 1.026s
2022-05-08 22:38:03 |

2022-05-08 22:38:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-08 22:38:03 | ------------------------------------

2022-05-08 22:38:03 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-db471ae3-b01d-4aab-92af-ed5aae4aaabf</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node db471ae3-b01d-4aab-92af-ed5aae4aaabf</title></pubsub></data>

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

2022-05-08 22:38:04 | [Mutex] waiting for: [received:nodes:4fdeb9a5-3acf-442b-a0d2-e11b591c54f6:localhost]

2022-05-08 22:38:04 | [Mutex] received everything.

2022-05-08 22:38:04 | [Mutex] isItemNotified: received:node:4fdeb9a5-3acf-442b-a0d2-e11b591c54f6:localhost:node-db471ae3-b01d-4aab-92af-ed5aae4aaabf:Node db471ae3-b01d-4aab-92af-ed5aae4aaabf :: true

deleteNodes 1.017s
2022-05-08 22:38:09 |

2022-05-08 22:38:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-08 22:38:09 | ------------------------------------

2022-05-08 22:38:09 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-db471ae3-b01d-4aab-92af-ed5aae4aaabf</node></data>

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

2022-05-08 22:38:10 | [Mutex] waiting for: [received:nodes:07f95296-d6d5-4252-91d4-66bcfce39888:localhost]

2022-05-08 22:38:10 | [Mutex] received everything.

2022-05-08 22:38:10 | [Mutex] isItemNotified: received:node:07f95296-d6d5-4252-91d4-66bcfce39888:localhost:node-db471ae3-b01d-4aab-92af-ed5aae4aaabf:Node db471ae3-b01d-4aab-92af-ed5aae4aaabf :: false

deleteSubnodes 1.145s
2022-05-08 22:38:08 |

2022-05-08 22:38:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-08 22:38:08 | ------------------------------------

2022-05-08 22:38:08 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-ec5d2068-c24c-4186-8b9f-012981ff5ae9</node></data>

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

2022-05-08 22:38:09 | [Mutex] waiting for: [received:nodes:a177e71e-b4c9-497c-89ed-fabeb9b515e9:localhost]

2022-05-08 22:38:09 | [Mutex] waiting for: [received:nodes:a177e71e-b4c9-497c-89ed-fabeb9b515e9:localhost]

2022-05-08 22:38:09 | [Mutex] received everything.

2022-05-08 22:38:09 | [Mutex] isItemNotified: received:node:a177e71e-b4c9-497c-89ed-fabeb9b515e9:localhost:node-ec5d2068-c24c-4186-8b9f-012981ff5ae9:Node ec5d2068-c24c-4186-8b9f-012981ff5ae9 :: false

2022-05-08 22:38:09 | [Mutex] waiting for: [received:nodes:dd493255-04a6-4a9a-8c8a-365762a2438b:localhost]

2022-05-08 22:38:09 | [Mutex] received everything.

2022-05-08 22:38:09 | [Mutex] isItemNotified: received:node:dd493255-04a6-4a9a-8c8a-365762a2438b:localhost:node-ec5d2068-c24c-4186-8b9f-012981ff5ae9:Node ec5d2068-c24c-4186-8b9f-012981ff5ae9 :: false

publishItemsToNodes 0.247s
2022-05-08 22:38:06 |

2022-05-08 22:38:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-08 22:38:06 | ------------------------------------

2022-05-08 22:38:06 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-ec5d2068-c24c-4186-8b9f-012981ff5ae9</node><item-id>item-25dc3eee-fcb4-47b3-b380-be6b59d8261a</item-id><entry><test>item-25dc3eee-fcb4-47b3-b380-be6b59d8261a</test></entry></data>

2022-05-08 22:38:06 | 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-25dc3eee-fcb4-47b3-b380-be6b59d8261a</value></item-id></result>

2022-05-08 22:38:06 | [Mutex] received everything.

2022-05-08 22:38:06 | [Mutex] isItemNotified: published:item:notifieditem-25dc3eee-fcb4-47b3-b380-be6b59d8261a:admin@test-domain.com :: true

retractItemsFromNodes 0.259s
2022-05-08 22:38:06 |

2022-05-08 22:38:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-08 22:38:06 | ------------------------------------

2022-05-08 22:38:06 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-ec5d2068-c24c-4186-8b9f-012981ff5ae9</node><item-id>item-25dc3eee-fcb4-47b3-b380-be6b59d8261a</item-id></data>

2022-05-08 22:38: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-25dc3eee-fcb4-47b3-b380-be6b59d8261a</value></item-id></result>

2022-05-08 22:38:07 | [Mutex] received everything.

2022-05-08 22:38:07 | [Mutex] isItemNotified: retracted:item:notifieditem-25dc3eee-fcb4-47b3-b380-be6b59d8261a:admin@test-domain.com :: true

retrieveItemsFromNodes 0.218s
2022-05-08 22:38:06 |

2022-05-08 22:38:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-08 22:38:06 | ------------------------------------

2022-05-08 22:38:06 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-ec5d2068-c24c-4186-8b9f-012981ff5ae9</node><item-id>item-25dc3eee-fcb4-47b3-b380-be6b59d8261a</item-id></data>

2022-05-08 22:38:06 | 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-ec5d2068-c24c-4186-8b9f-012981ff5ae9</value></node><item-id type="text-single" label="Item ID"><value>item-25dc3eee-fcb4-47b3-b380-be6b59d8261a</value></item-id><item type="text-multi" label="Item"><value><item id="item-25dc3eee-fcb4-47b3-b380-be6b59d8261a"><test>item-25dc3eee-fcb4-47b3-b380-be6b59d8261a</test></item></value></item></result>

2022-05-08 22:38:06 | [Mutex] notify: [retrieved:item:item-25dc3eee-fcb4-47b3-b380-be6b59d8261a:payload-matches:true:localhost]

2022-05-08 22:38:06 | [Mutex] received everything.

2022-05-08 22:38:06 | [Mutex] isItemNotified: retrieved:item:item-25dc3eee-fcb4-47b3-b380-be6b59d8261a:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-05-08 22:38:06 |

2022-05-08 22:38:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-08 22:38:06 | ------------------------------------

2022-05-08 22:38:06 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-05-08 22:38:06 | 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-ec5d2068-c24c-4186-8b9f-012981ff5ae9</value><value>node-db471ae3-b01d-4aab-92af-ed5aae4aaabf</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.053s
2022-05-08 22:38:06 |

2022-05-08 22:38:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-08 22:38:06 | ------------------------------------

2022-05-08 22:38:06 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-ec5d2068-c24c-4186-8b9f-012981ff5ae9)</node-pattern></data>

2022-05-08 22:38:06 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.142s
2022-05-08 22:38:05 |

2022-05-08 22:38:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-08 22:38:05 | ------------------------------------

2022-05-08 22:38:05 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-ec5d2068-c24c-4186-8b9f-012981ff5ae9</node><jids><value>admin@test-domain.com</value></jids></data>

2022-05-08 22:38: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.239s
2022-05-08 22:38:07 |

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

2022-05-08 22:38:07 | ------------------------------------

2022-05-08 22:38:07 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-ec5d2068-c24c-4186-8b9f-012981ff5ae9</node><jids><value>admin@test-domain.com</value></jids></data>

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