Generated by TestNG with ReportNG at 22:18 PDT on Saturday 09 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.612s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.103s
2022-07-09 22:32:05 |

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

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

2022-07-09 22:32:05 | [Mutex] waiting for: [configured:node:node-1298dbae-6725-44d1-a5aa-19642d1b450e:node-944370de-88c4-4a95-a178-48b094e224af]

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

2022-07-09 22:32:05 | [Mutex] isItemNotified: configured:node:node-1298dbae-6725-44d1-a5aa-19642d1b450e:node-944370de-88c4-4a95-a178-48b094e224af :: true

2022-07-09 22:32:06 | [Mutex] waiting for: [received:nodes:ee6ea8b8-ba4d-4f9a-9883-10907ccdc348:localhost]

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

2022-07-09 22:32:06 | [Mutex] isItemNotified: received:node:ee6ea8b8-ba4d-4f9a-9883-10907ccdc348:localhost:node-1298dbae-6725-44d1-a5aa-19642d1b450e:Node 1298dbae-6725-44d1-a5aa-19642d1b450e :: true

2022-07-09 22:32:06 | [Mutex] waiting for: [received:nodes:8bafe111-c983-4c6a-bbff-217aceed5f69:localhost]

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

2022-07-09 22:32:06 | [Mutex] isItemNotified: received:node:8bafe111-c983-4c6a-bbff-217aceed5f69:localhost:node-1298dbae-6725-44d1-a5aa-19642d1b450e:Node 1298dbae-6725-44d1-a5aa-19642d1b450e :: false

createNodes 1.405s
2022-07-09 22:32:02 |

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

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

2022-07-09 22:32:02 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-1298dbae-6725-44d1-a5aa-19642d1b450e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 1298dbae-6725-44d1-a5aa-19642d1b450e</title></pubsub></data>

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

2022-07-09 22:32:04 | [Mutex] waiting for: [received:nodes:60da2363-9f2c-47ed-919e-49e9a70211bb:localhost]

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

2022-07-09 22:32:04 | [Mutex] isItemNotified: received:node:60da2363-9f2c-47ed-919e-49e9a70211bb:localhost:node-1298dbae-6725-44d1-a5aa-19642d1b450e:Node 1298dbae-6725-44d1-a5aa-19642d1b450e :: true

createSubnodes 1.027s
2022-07-09 22:32:04 |

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

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

2022-07-09 22:32:04 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-944370de-88c4-4a95-a178-48b094e224af</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 944370de-88c4-4a95-a178-48b094e224af</title></pubsub></data>

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

2022-07-09 22:32:05 | [Mutex] waiting for: [received:nodes:9428c709-1217-4324-9fae-ca3f2c64a20e:localhost]

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

2022-07-09 22:32:05 | [Mutex] isItemNotified: received:node:9428c709-1217-4324-9fae-ca3f2c64a20e:localhost:node-944370de-88c4-4a95-a178-48b094e224af:Node 944370de-88c4-4a95-a178-48b094e224af :: true

deleteNodes 1.019s
2022-07-09 22:32:10 |

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

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

2022-07-09 22:32:10 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-944370de-88c4-4a95-a178-48b094e224af</node></data>

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

2022-07-09 22:32:11 | [Mutex] waiting for: [received:nodes:3bae7d08-d2e7-4d79-9d55-df6490558b84:localhost]

2022-07-09 22:32:11 | [Mutex] waiting for: [received:nodes:3bae7d08-d2e7-4d79-9d55-df6490558b84:localhost]

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

2022-07-09 22:32:11 | [Mutex] isItemNotified: received:node:3bae7d08-d2e7-4d79-9d55-df6490558b84:localhost:node-944370de-88c4-4a95-a178-48b094e224af:Node 944370de-88c4-4a95-a178-48b094e224af :: false

deleteSubnodes 1.133s
2022-07-09 22:32:09 |

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

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

2022-07-09 22:32:09 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-1298dbae-6725-44d1-a5aa-19642d1b450e</node></data>

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

2022-07-09 22:32:10 | [Mutex] waiting for: [received:nodes:e37aab78-34c2-4651-b83a-3b8bd596575c:localhost]

2022-07-09 22:32:10 | [Mutex] waiting for: [received:nodes:e37aab78-34c2-4651-b83a-3b8bd596575c:localhost]

2022-07-09 22:32:10 | [Mutex] waiting for: [received:nodes:e37aab78-34c2-4651-b83a-3b8bd596575c:localhost]

2022-07-09 22:32:10 | [Mutex] waiting for: [received:nodes:e37aab78-34c2-4651-b83a-3b8bd596575c:localhost]

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

2022-07-09 22:32:10 | [Mutex] isItemNotified: received:node:e37aab78-34c2-4651-b83a-3b8bd596575c:localhost:node-1298dbae-6725-44d1-a5aa-19642d1b450e:Node 1298dbae-6725-44d1-a5aa-19642d1b450e :: false

2022-07-09 22:32:10 | [Mutex] waiting for: [received:nodes:f50fa629-9582-4bdf-b0bc-2ed2b72557ff:localhost]

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

2022-07-09 22:32:10 | [Mutex] isItemNotified: received:node:f50fa629-9582-4bdf-b0bc-2ed2b72557ff:localhost:node-1298dbae-6725-44d1-a5aa-19642d1b450e:Node 1298dbae-6725-44d1-a5aa-19642d1b450e :: false

publishItemsToNodes 0.251s
2022-07-09 22:32:07 |

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

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

2022-07-09 22:32:07 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-1298dbae-6725-44d1-a5aa-19642d1b450e</node><item-id>item-b1a44d94-dc65-4193-a84d-d29c3b04f728</item-id><entry><test>item-b1a44d94-dc65-4193-a84d-d29c3b04f728</test></entry></data>

2022-07-09 22:32:07 | 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-b1a44d94-dc65-4193-a84d-d29c3b04f728</value></item-id></result>

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

2022-07-09 22:32:07 | [Mutex] isItemNotified: published:item:notifieditem-b1a44d94-dc65-4193-a84d-d29c3b04f728:admin@test-domain.com :: true

retractItemsFromNodes 0.299s
2022-07-09 22:32:08 |

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

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

2022-07-09 22:32:08 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-1298dbae-6725-44d1-a5aa-19642d1b450e</node><item-id>item-b1a44d94-dc65-4193-a84d-d29c3b04f728</item-id></data>

2022-07-09 22:32:08 | 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-b1a44d94-dc65-4193-a84d-d29c3b04f728</value></item-id></result>

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

2022-07-09 22:32:08 | [Mutex] isItemNotified: retracted:item:notifieditem-b1a44d94-dc65-4193-a84d-d29c3b04f728:admin@test-domain.com :: true

retrieveItemsFromNodes 0.259s
2022-07-09 22:32:07 |

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

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

2022-07-09 22:32:07 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-1298dbae-6725-44d1-a5aa-19642d1b450e</node><item-id>item-b1a44d94-dc65-4193-a84d-d29c3b04f728</item-id></data>

2022-07-09 22:32:07 | 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-1298dbae-6725-44d1-a5aa-19642d1b450e</value></node><item-id type="text-single" label="Item ID"><value>item-b1a44d94-dc65-4193-a84d-d29c3b04f728</value></item-id><item type="text-multi" label="Item"><value><item id="item-b1a44d94-dc65-4193-a84d-d29c3b04f728"><test>item-b1a44d94-dc65-4193-a84d-d29c3b04f728</test></item></value></item></result>

2022-07-09 22:32:07 | [Mutex] notify: [retrieved:item:item-b1a44d94-dc65-4193-a84d-d29c3b04f728:payload-matches:true:localhost]

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

2022-07-09 22:32:07 | [Mutex] isItemNotified: retrieved:item:item-b1a44d94-dc65-4193-a84d-d29c3b04f728:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-07-09 22:32:07 |

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

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

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

2022-07-09 22:32:07 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-1298dbae-6725-44d1-a5aa-19642d1b450e</value><value>test</value><value>node-944370de-88c4-4a95-a178-48b094e224af</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.053s
2022-07-09 22:32:07 |

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

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

2022-07-09 22:32:07 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-1298dbae-6725-44d1-a5aa-19642d1b450e)</node-pattern></data>

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

subscribeNodes 1.132s
2022-07-09 22:32:06 |

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

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

2022-07-09 22:32:06 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-1298dbae-6725-44d1-a5aa-19642d1b450e</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.223s
2022-07-09 22:32:08 |

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

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

2022-07-09 22:32:08 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-1298dbae-6725-44d1-a5aa-19642d1b450e</node><jids><value>admin@test-domain.com</value></jids></data>

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