Generated by TestNG with ReportNG at 22:17 PDT on Friday 15 July 2022
root@ed1b7dd8a1b3 / 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.425s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.079s
2022-07-15 22:32:01 |

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

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

2022-07-15 22:32:01 | [Mutex] waiting for: [configured:node:node-a0cf8604-9f47-4b06-9758-29bb8afd77b3:node-7fadf786-c36b-4639-b17d-c8539c789103]

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

2022-07-15 22:32:01 | [Mutex] isItemNotified: configured:node:node-a0cf8604-9f47-4b06-9758-29bb8afd77b3:node-7fadf786-c36b-4639-b17d-c8539c789103 :: true

2022-07-15 22:32:02 | [Mutex] waiting for: [received:nodes:23c5ffaa-e3b3-4141-b602-3ee5e8a399dc:localhost]

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

2022-07-15 22:32:02 | [Mutex] isItemNotified: received:node:23c5ffaa-e3b3-4141-b602-3ee5e8a399dc:localhost:node-a0cf8604-9f47-4b06-9758-29bb8afd77b3:Node a0cf8604-9f47-4b06-9758-29bb8afd77b3 :: true

2022-07-15 22:32:02 | [Mutex] waiting for: [received:nodes:179c198c-91f8-4ded-b4a9-26bec9edc34d:localhost]

2022-07-15 22:32:02 | [Mutex] waiting for: [received:nodes:179c198c-91f8-4ded-b4a9-26bec9edc34d:localhost]

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

2022-07-15 22:32:02 | [Mutex] isItemNotified: received:node:179c198c-91f8-4ded-b4a9-26bec9edc34d:localhost:node-a0cf8604-9f47-4b06-9758-29bb8afd77b3:Node a0cf8604-9f47-4b06-9758-29bb8afd77b3 :: false

createNodes 1.441s
2022-07-15 22:31:58 |

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

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

2022-07-15 22:31:58 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a0cf8604-9f47-4b06-9758-29bb8afd77b3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node a0cf8604-9f47-4b06-9758-29bb8afd77b3</title></pubsub></data>

2022-07-15 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-15 22:32:00 | [Mutex] waiting for: [received:nodes:bc83dfd6-4837-4c04-a393-28ae91d9909b:localhost]

2022-07-15 22:32:00 | [Mutex] waiting for: [received:nodes:bc83dfd6-4837-4c04-a393-28ae91d9909b:localhost]

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

2022-07-15 22:32:00 | [Mutex] isItemNotified: received:node:bc83dfd6-4837-4c04-a393-28ae91d9909b:localhost:node-a0cf8604-9f47-4b06-9758-29bb8afd77b3:Node a0cf8604-9f47-4b06-9758-29bb8afd77b3 :: true

createSubnodes 1.025s
2022-07-15 22:32:00 |

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

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

2022-07-15 22:32:00 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-7fadf786-c36b-4639-b17d-c8539c789103</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 7fadf786-c36b-4639-b17d-c8539c789103</title></pubsub></data>

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

2022-07-15 22:32:01 | [Mutex] waiting for: [received:nodes:6c4c478a-a4c0-4995-8c0f-df3795ee2d6b:localhost]

2022-07-15 22:32:01 | [Mutex] waiting for: [received:nodes:6c4c478a-a4c0-4995-8c0f-df3795ee2d6b:localhost]

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

2022-07-15 22:32:01 | [Mutex] isItemNotified: received:node:6c4c478a-a4c0-4995-8c0f-df3795ee2d6b:localhost:node-7fadf786-c36b-4639-b17d-c8539c789103:Node 7fadf786-c36b-4639-b17d-c8539c789103 :: true

deleteNodes 1.021s
2022-07-15 22:32:06 |

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

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

2022-07-15 22:32:06 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-7fadf786-c36b-4639-b17d-c8539c789103</node></data>

2022-07-15 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-15 22:32:07 | [Mutex] waiting for: [received:nodes:cb44f701-dae4-4dab-a6a3-7e138500506d:localhost]

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

2022-07-15 22:32:07 | [Mutex] isItemNotified: received:node:cb44f701-dae4-4dab-a6a3-7e138500506d:localhost:node-7fadf786-c36b-4639-b17d-c8539c789103:Node 7fadf786-c36b-4639-b17d-c8539c789103 :: false

deleteSubnodes 1.116s
2022-07-15 22:32:05 |

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

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

2022-07-15 22:32:05 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a0cf8604-9f47-4b06-9758-29bb8afd77b3</node></data>

2022-07-15 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-15 22:32:06 | [Mutex] waiting for: [received:nodes:d5e51538-51d7-4ba2-94eb-55c180f5c99a:localhost]

2022-07-15 22:32:06 | [Mutex] waiting for: [received:nodes:d5e51538-51d7-4ba2-94eb-55c180f5c99a:localhost]

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

2022-07-15 22:32:06 | [Mutex] isItemNotified: received:node:d5e51538-51d7-4ba2-94eb-55c180f5c99a:localhost:node-a0cf8604-9f47-4b06-9758-29bb8afd77b3:Node a0cf8604-9f47-4b06-9758-29bb8afd77b3 :: false

2022-07-15 22:32:06 | [Mutex] waiting for: [received:nodes:a4a7332f-06d0-4cde-b907-1380027cb687:localhost]

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

2022-07-15 22:32:06 | [Mutex] isItemNotified: received:node:a4a7332f-06d0-4cde-b907-1380027cb687:localhost:node-a0cf8604-9f47-4b06-9758-29bb8afd77b3:Node a0cf8604-9f47-4b06-9758-29bb8afd77b3 :: false

publishItemsToNodes 0.190s
2022-07-15 22:32:03 |

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

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

2022-07-15 22:32:03 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-a0cf8604-9f47-4b06-9758-29bb8afd77b3</node><item-id>item-f3dffbff-2114-4c8d-b9c4-f226bef00245</item-id><entry><test>item-f3dffbff-2114-4c8d-b9c4-f226bef00245</test></entry></data>

2022-07-15 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-f3dffbff-2114-4c8d-b9c4-f226bef00245</value></item-id></result>

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

2022-07-15 22:32:03 | [Mutex] isItemNotified: published:item:notifieditem-f3dffbff-2114-4c8d-b9c4-f226bef00245:admin@test-domain.com :: true

retractItemsFromNodes 0.283s
2022-07-15 22:32:04 |

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

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

2022-07-15 22:32:04 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-a0cf8604-9f47-4b06-9758-29bb8afd77b3</node><item-id>item-f3dffbff-2114-4c8d-b9c4-f226bef00245</item-id></data>

2022-07-15 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-f3dffbff-2114-4c8d-b9c4-f226bef00245</value></item-id></result>

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

2022-07-15 22:32:04 | [Mutex] isItemNotified: retracted:item:notifieditem-f3dffbff-2114-4c8d-b9c4-f226bef00245:admin@test-domain.com :: true

retrieveItemsFromNodes 0.198s
2022-07-15 22:32:03 |

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

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

2022-07-15 22:32:03 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-a0cf8604-9f47-4b06-9758-29bb8afd77b3</node><item-id>item-f3dffbff-2114-4c8d-b9c4-f226bef00245</item-id></data>

2022-07-15 22:32:04 | 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-a0cf8604-9f47-4b06-9758-29bb8afd77b3</value></node><item-id type="text-single" label="Item ID"><value>item-f3dffbff-2114-4c8d-b9c4-f226bef00245</value></item-id><item type="text-multi" label="Item"><value><item id="item-f3dffbff-2114-4c8d-b9c4-f226bef00245"><test>item-f3dffbff-2114-4c8d-b9c4-f226bef00245</test></item></value></item></result>

2022-07-15 22:32:04 | [Mutex] notify: [retrieved:item:item-f3dffbff-2114-4c8d-b9c4-f226bef00245:payload-matches:true:localhost]

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

2022-07-15 22:32:04 | [Mutex] isItemNotified: retrieved:item:item-f3dffbff-2114-4c8d-b9c4-f226bef00245:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-07-15 22:32:04 |

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

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

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

2022-07-15 22:32:04 | 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-7fadf786-c36b-4639-b17d-c8539c789103</value><value>node-a0cf8604-9f47-4b06-9758-29bb8afd77b3</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-07-15 22:32:04 |

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

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

2022-07-15 22:32:04 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-a0cf8604-9f47-4b06-9758-29bb8afd77b3)</node-pattern></data>

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

subscribeNodes 1.185s
2022-07-15 22:32:02 |

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

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

2022-07-15 22:32:02 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-a0cf8604-9f47-4b06-9758-29bb8afd77b3</node><jids><value>admin@test-domain.com</value></jids></data>

2022-07-15 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.143s
2022-07-15 22:32:04 |

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

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

2022-07-15 22:32:04 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-a0cf8604-9f47-4b06-9758-29bb8afd77b3</node><jids><value>admin@test-domain.com</value></jids></data>

2022-07-15 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>