Generated by TestNG with ReportNG at 22:18 PDT on Sunday 17 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.722s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.090s
2022-07-17 22:32:00 |

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

2022-07-17 22:32:00 | ------------------------------------

2022-07-17 22:32:00 | [Mutex] waiting for: [configured:node:node-ea843fe0-2bd5-44f9-9d9d-42afc8c63212:node-f0f035b2-d5cf-47aa-a02c-7ae241e6b4f2]

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

2022-07-17 22:32:01 | [Mutex] isItemNotified: configured:node:node-ea843fe0-2bd5-44f9-9d9d-42afc8c63212:node-f0f035b2-d5cf-47aa-a02c-7ae241e6b4f2 :: true

2022-07-17 22:32:02 | [Mutex] waiting for: [received:nodes:151a88c8-99e2-4915-a990-75437157625d:localhost]

2022-07-17 22:32:02 | [Mutex] waiting for: [received:nodes:151a88c8-99e2-4915-a990-75437157625d:localhost]

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

2022-07-17 22:32:02 | [Mutex] isItemNotified: received:node:151a88c8-99e2-4915-a990-75437157625d:localhost:node-ea843fe0-2bd5-44f9-9d9d-42afc8c63212:Node ea843fe0-2bd5-44f9-9d9d-42afc8c63212 :: true

2022-07-17 22:32:02 | [Mutex] waiting for: [received:nodes:98e5fe56-4f1a-4ab9-a222-ab0a6421c310:localhost]

2022-07-17 22:32:02 | [Mutex] waiting for: [received:nodes:98e5fe56-4f1a-4ab9-a222-ab0a6421c310:localhost]

2022-07-17 22:32:02 | [Mutex] waiting for: [received:nodes:98e5fe56-4f1a-4ab9-a222-ab0a6421c310:localhost]

2022-07-17 22:32:02 | [Mutex] waiting for: [received:nodes:98e5fe56-4f1a-4ab9-a222-ab0a6421c310:localhost]

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

2022-07-17 22:32:02 | [Mutex] isItemNotified: received:node:98e5fe56-4f1a-4ab9-a222-ab0a6421c310:localhost:node-ea843fe0-2bd5-44f9-9d9d-42afc8c63212:Node ea843fe0-2bd5-44f9-9d9d-42afc8c63212 :: false

createNodes 1.526s
2022-07-17 22:31:58 |

2022-07-17 22:31:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-17 22:31:58 | ------------------------------------

2022-07-17 22:31:58 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-ea843fe0-2bd5-44f9-9d9d-42afc8c63212</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node ea843fe0-2bd5-44f9-9d9d-42afc8c63212</title></pubsub></data>

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

2022-07-17 22:31:59 | [Mutex] waiting for: [received:nodes:16a3795c-c533-48e0-bb40-decf0df427ba:localhost]

2022-07-17 22:31:59 | [Mutex] received everything.

2022-07-17 22:31:59 | [Mutex] isItemNotified: received:node:16a3795c-c533-48e0-bb40-decf0df427ba:localhost:node-ea843fe0-2bd5-44f9-9d9d-42afc8c63212:Node ea843fe0-2bd5-44f9-9d9d-42afc8c63212 :: true

createSubnodes 1.027s
2022-07-17 22:31:59 |

2022-07-17 22:31:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-17 22:31:59 | ------------------------------------

2022-07-17 22:31:59 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-f0f035b2-d5cf-47aa-a02c-7ae241e6b4f2</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node f0f035b2-d5cf-47aa-a02c-7ae241e6b4f2</title></pubsub></data>

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

2022-07-17 22:32:00 | [Mutex] waiting for: [received:nodes:6e18fcd6-368c-49cf-ad66-eb211b5dbdb4:localhost]

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

2022-07-17 22:32:00 | [Mutex] isItemNotified: received:node:6e18fcd6-368c-49cf-ad66-eb211b5dbdb4:localhost:node-f0f035b2-d5cf-47aa-a02c-7ae241e6b4f2:Node f0f035b2-d5cf-47aa-a02c-7ae241e6b4f2 :: true

deleteNodes 1.016s
2022-07-17 22:32:06 |

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

2022-07-17 22:32:06 | ------------------------------------

2022-07-17 22:32:06 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-f0f035b2-d5cf-47aa-a02c-7ae241e6b4f2</node></data>

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

2022-07-17 22:32:07 | [Mutex] waiting for: [received:nodes:4b614eb6-a617-4cad-8982-5b8175707666:localhost]

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

2022-07-17 22:32:07 | [Mutex] isItemNotified: received:node:4b614eb6-a617-4cad-8982-5b8175707666:localhost:node-f0f035b2-d5cf-47aa-a02c-7ae241e6b4f2:Node f0f035b2-d5cf-47aa-a02c-7ae241e6b4f2 :: false

deleteSubnodes 1.131s
2022-07-17 22:32:05 |

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

2022-07-17 22:32:05 | ------------------------------------

2022-07-17 22:32:05 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-ea843fe0-2bd5-44f9-9d9d-42afc8c63212</node></data>

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

2022-07-17 22:32:06 | [Mutex] waiting for: [received:nodes:15447c39-0d9d-428f-8d64-9357a05c7114:localhost]

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

2022-07-17 22:32:06 | [Mutex] isItemNotified: received:node:15447c39-0d9d-428f-8d64-9357a05c7114:localhost:node-ea843fe0-2bd5-44f9-9d9d-42afc8c63212:Node ea843fe0-2bd5-44f9-9d9d-42afc8c63212 :: false

2022-07-17 22:32:06 | [Mutex] waiting for: [received:nodes:ef33f26c-5ad6-4c56-bfc0-38fc74e96974:localhost]

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

2022-07-17 22:32:06 | [Mutex] isItemNotified: received:node:ef33f26c-5ad6-4c56-bfc0-38fc74e96974:localhost:node-ea843fe0-2bd5-44f9-9d9d-42afc8c63212:Node ea843fe0-2bd5-44f9-9d9d-42afc8c63212 :: false

publishItemsToNodes 0.214s
2022-07-17 22:32:03 |

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

2022-07-17 22:32:03 | ------------------------------------

2022-07-17 22:32:03 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-ea843fe0-2bd5-44f9-9d9d-42afc8c63212</node><item-id>item-e18fd7a2-9f9c-4d34-b707-35de9d1a7359</item-id><entry><test>item-e18fd7a2-9f9c-4d34-b707-35de9d1a7359</test></entry></data>

2022-07-17 22:32:03 | 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-e18fd7a2-9f9c-4d34-b707-35de9d1a7359</value></item-id></result>

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

2022-07-17 22:32:03 | [Mutex] isItemNotified: published:item:notifieditem-e18fd7a2-9f9c-4d34-b707-35de9d1a7359:admin@test-domain.com :: true

retractItemsFromNodes 0.329s
2022-07-17 22:32:03 |

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

2022-07-17 22:32:03 | ------------------------------------

2022-07-17 22:32:03 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-ea843fe0-2bd5-44f9-9d9d-42afc8c63212</node><item-id>item-e18fd7a2-9f9c-4d34-b707-35de9d1a7359</item-id></data>

2022-07-17 22:32:04 | 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-e18fd7a2-9f9c-4d34-b707-35de9d1a7359</value></item-id></result>

2022-07-17 22:32:04 | [Mutex] waiting for: [retracted:item:notifieditem-e18fd7a2-9f9c-4d34-b707-35de9d1a7359:admin@test-domain.com]

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

2022-07-17 22:32:04 | [Mutex] isItemNotified: retracted:item:notifieditem-e18fd7a2-9f9c-4d34-b707-35de9d1a7359:admin@test-domain.com :: true

retrieveItemsFromNodes 0.242s
2022-07-17 22:32:03 |

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

2022-07-17 22:32:03 | ------------------------------------

2022-07-17 22:32:03 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-ea843fe0-2bd5-44f9-9d9d-42afc8c63212</node><item-id>item-e18fd7a2-9f9c-4d34-b707-35de9d1a7359</item-id></data>

2022-07-17 22:32:03 | 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-ea843fe0-2bd5-44f9-9d9d-42afc8c63212</value></node><item-id type="text-single" label="Item ID"><value>item-e18fd7a2-9f9c-4d34-b707-35de9d1a7359</value></item-id><item type="text-multi" label="Item"><value><item id="item-e18fd7a2-9f9c-4d34-b707-35de9d1a7359"><test>item-e18fd7a2-9f9c-4d34-b707-35de9d1a7359</test></item></value></item></result>

2022-07-17 22:32:03 | [Mutex] notify: [retrieved:item:item-e18fd7a2-9f9c-4d34-b707-35de9d1a7359:payload-matches:true:localhost]

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

2022-07-17 22:32:03 | [Mutex] isItemNotified: retrieved:item:item-e18fd7a2-9f9c-4d34-b707-35de9d1a7359:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2022-07-17 22:32:03 |

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

2022-07-17 22:32:03 | ------------------------------------

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

2022-07-17 22:32:03 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-ea843fe0-2bd5-44f9-9d9d-42afc8c63212</value><value>node-f0f035b2-d5cf-47aa-a02c-7ae241e6b4f2</value><value>test</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.053s
2022-07-17 22:32:03 |

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

2022-07-17 22:32:03 | ------------------------------------

2022-07-17 22:32:03 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-ea843fe0-2bd5-44f9-9d9d-42afc8c63212)</node-pattern></data>

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

subscribeNodes 1.157s
2022-07-17 22:32:02 |

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

2022-07-17 22:32:02 | ------------------------------------

2022-07-17 22:32:02 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-ea843fe0-2bd5-44f9-9d9d-42afc8c63212</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.214s
2022-07-17 22:32:04 |

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

2022-07-17 22:32:04 | ------------------------------------

2022-07-17 22:32:04 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-ea843fe0-2bd5-44f9-9d9d-42afc8c63212</node><jids><value>admin@test-domain.com</value></jids></data>

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