Generated by TestNG with ReportNG at 22:52 PDT on Tuesday 02 August 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.702s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.092s
2022-08-02 23:07:13 |

2022-08-02 23:07:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-02 23:07:13 | ------------------------------------

2022-08-02 23:07:13 | [Mutex] waiting for: [configured:node:node-3cfd9bf4-050a-46fd-aa88-cd0f4e8763d3:node-c80aa016-e1cf-48fc-96eb-10429126a741]

2022-08-02 23:07:13 | [Mutex] received everything.

2022-08-02 23:07:13 | [Mutex] isItemNotified: configured:node:node-3cfd9bf4-050a-46fd-aa88-cd0f4e8763d3:node-c80aa016-e1cf-48fc-96eb-10429126a741 :: true

2022-08-02 23:07:14 | [Mutex] waiting for: [received:nodes:c4cbc663-df0a-4d74-acd9-55e258530a1b:localhost]

2022-08-02 23:07:14 | [Mutex] received everything.

2022-08-02 23:07:14 | [Mutex] isItemNotified: received:node:c4cbc663-df0a-4d74-acd9-55e258530a1b:localhost:node-3cfd9bf4-050a-46fd-aa88-cd0f4e8763d3:Node 3cfd9bf4-050a-46fd-aa88-cd0f4e8763d3 :: true

2022-08-02 23:07:14 | [Mutex] waiting for: [received:nodes:14d88129-1cff-4239-85c4-333339cab72c:localhost]

2022-08-02 23:07:14 | [Mutex] waiting for: [received:nodes:14d88129-1cff-4239-85c4-333339cab72c:localhost]

2022-08-02 23:07:14 | [Mutex] waiting for: [received:nodes:14d88129-1cff-4239-85c4-333339cab72c:localhost]

2022-08-02 23:07:14 | [Mutex] received everything.

2022-08-02 23:07:14 | [Mutex] isItemNotified: received:node:14d88129-1cff-4239-85c4-333339cab72c:localhost:node-3cfd9bf4-050a-46fd-aa88-cd0f4e8763d3:Node 3cfd9bf4-050a-46fd-aa88-cd0f4e8763d3 :: false

createNodes 1.401s
2022-08-02 23:07:11 |

2022-08-02 23:07:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-02 23:07:11 | ------------------------------------

2022-08-02 23:07:11 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-3cfd9bf4-050a-46fd-aa88-cd0f4e8763d3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 3cfd9bf4-050a-46fd-aa88-cd0f4e8763d3</title></pubsub></data>

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

2022-08-02 23:07:12 | [Mutex] waiting for: [received:nodes:f5fc85cb-aa53-4aa8-9156-826353cd8760:localhost]

2022-08-02 23:07:12 | [Mutex] waiting for: [received:nodes:f5fc85cb-aa53-4aa8-9156-826353cd8760:localhost]

2022-08-02 23:07:12 | [Mutex] received everything.

2022-08-02 23:07:12 | [Mutex] isItemNotified: received:node:f5fc85cb-aa53-4aa8-9156-826353cd8760:localhost:node-3cfd9bf4-050a-46fd-aa88-cd0f4e8763d3:Node 3cfd9bf4-050a-46fd-aa88-cd0f4e8763d3 :: true

createSubnodes 1.021s
2022-08-02 23:07:12 |

2022-08-02 23:07:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-02 23:07:12 | ------------------------------------

2022-08-02 23:07:12 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c80aa016-e1cf-48fc-96eb-10429126a741</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node c80aa016-e1cf-48fc-96eb-10429126a741</title></pubsub></data>

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

2022-08-02 23:07:13 | [Mutex] waiting for: [received:nodes:eaed45f9-72fb-4152-9c56-6b1219399a50:localhost]

2022-08-02 23:07:13 | [Mutex] received everything.

2022-08-02 23:07:13 | [Mutex] isItemNotified: received:node:eaed45f9-72fb-4152-9c56-6b1219399a50:localhost:node-c80aa016-e1cf-48fc-96eb-10429126a741:Node c80aa016-e1cf-48fc-96eb-10429126a741 :: true

deleteNodes 1.022s
2022-08-02 23:07:19 |

2022-08-02 23:07:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-02 23:07:19 | ------------------------------------

2022-08-02 23:07:19 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c80aa016-e1cf-48fc-96eb-10429126a741</node></data>

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

2022-08-02 23:07:20 | [Mutex] waiting for: [received:nodes:7bc8345b-c046-4782-954e-b4fa092ce9ae:localhost]

2022-08-02 23:07:20 | [Mutex] received everything.

2022-08-02 23:07:20 | [Mutex] isItemNotified: received:node:7bc8345b-c046-4782-954e-b4fa092ce9ae:localhost:node-c80aa016-e1cf-48fc-96eb-10429126a741:Node c80aa016-e1cf-48fc-96eb-10429126a741 :: false

deleteSubnodes 1.152s
2022-08-02 23:07:18 |

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

2022-08-02 23:07:18 | ------------------------------------

2022-08-02 23:07:18 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-3cfd9bf4-050a-46fd-aa88-cd0f4e8763d3</node></data>

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

2022-08-02 23:07:19 | [Mutex] waiting for: [received:nodes:4a2d9bae-6a53-439f-b506-3f637ed0da6b:localhost]

2022-08-02 23:07:19 | [Mutex] waiting for: [received:nodes:4a2d9bae-6a53-439f-b506-3f637ed0da6b:localhost]

2022-08-02 23:07:19 | [Mutex] received everything.

2022-08-02 23:07:19 | [Mutex] isItemNotified: received:node:4a2d9bae-6a53-439f-b506-3f637ed0da6b:localhost:node-3cfd9bf4-050a-46fd-aa88-cd0f4e8763d3:Node 3cfd9bf4-050a-46fd-aa88-cd0f4e8763d3 :: false

2022-08-02 23:07:19 | [Mutex] waiting for: [received:nodes:cd956bc6-e4f7-4530-9a30-ef090a1ce4e1:localhost]

2022-08-02 23:07:19 | [Mutex] received everything.

2022-08-02 23:07:19 | [Mutex] isItemNotified: received:node:cd956bc6-e4f7-4530-9a30-ef090a1ce4e1:localhost:node-3cfd9bf4-050a-46fd-aa88-cd0f4e8763d3:Node 3cfd9bf4-050a-46fd-aa88-cd0f4e8763d3 :: false

publishItemsToNodes 0.267s
2022-08-02 23:07:15 |

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

2022-08-02 23:07:15 | ------------------------------------

2022-08-02 23:07:15 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-3cfd9bf4-050a-46fd-aa88-cd0f4e8763d3</node><item-id>item-fdc32884-b809-45e8-b5db-23678d6d28cd</item-id><entry><test>item-fdc32884-b809-45e8-b5db-23678d6d28cd</test></entry></data>

2022-08-02 23:07:16 | 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-fdc32884-b809-45e8-b5db-23678d6d28cd</value></item-id></result>

2022-08-02 23:07:16 | [Mutex] waiting for: [published:item:notifieditem-fdc32884-b809-45e8-b5db-23678d6d28cd:admin@test-domain.com]

2022-08-02 23:07:16 | [Mutex] received everything.

2022-08-02 23:07:16 | [Mutex] isItemNotified: published:item:notifieditem-fdc32884-b809-45e8-b5db-23678d6d28cd:admin@test-domain.com :: true

retractItemsFromNodes 0.327s
2022-08-02 23:07:16 |

2022-08-02 23:07:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-02 23:07:16 | ------------------------------------

2022-08-02 23:07:16 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-3cfd9bf4-050a-46fd-aa88-cd0f4e8763d3</node><item-id>item-fdc32884-b809-45e8-b5db-23678d6d28cd</item-id></data>

2022-08-02 23:07:16 | 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-fdc32884-b809-45e8-b5db-23678d6d28cd</value></item-id></result>

2022-08-02 23:07:16 | [Mutex] received everything.

2022-08-02 23:07:16 | [Mutex] isItemNotified: retracted:item:notifieditem-fdc32884-b809-45e8-b5db-23678d6d28cd:admin@test-domain.com :: true

retrieveItemsFromNodes 0.284s
2022-08-02 23:07:16 |

2022-08-02 23:07:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-02 23:07:16 | ------------------------------------

2022-08-02 23:07:16 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-3cfd9bf4-050a-46fd-aa88-cd0f4e8763d3</node><item-id>item-fdc32884-b809-45e8-b5db-23678d6d28cd</item-id></data>

2022-08-02 23:07:16 | 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-3cfd9bf4-050a-46fd-aa88-cd0f4e8763d3</value></node><item-id type="text-single" label="Item ID"><value>item-fdc32884-b809-45e8-b5db-23678d6d28cd</value></item-id><item type="text-multi" label="Item"><value><item id="item-fdc32884-b809-45e8-b5db-23678d6d28cd"><test>item-fdc32884-b809-45e8-b5db-23678d6d28cd</test></item></value></item></result>

2022-08-02 23:07:16 | [Mutex] notify: [retrieved:item:item-fdc32884-b809-45e8-b5db-23678d6d28cd:payload-matches:true:localhost]

2022-08-02 23:07:16 | [Mutex] received everything.

2022-08-02 23:07:16 | [Mutex] isItemNotified: retrieved:item:item-fdc32884-b809-45e8-b5db-23678d6d28cd:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-08-02 23:07:16 |

2022-08-02 23:07:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-02 23:07:16 | ------------------------------------

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

2022-08-02 23:07:16 | 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-3cfd9bf4-050a-46fd-aa88-cd0f4e8763d3</value><value>node-c80aa016-e1cf-48fc-96eb-10429126a741</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-08-02 23:07:16 |

2022-08-02 23:07:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-02 23:07:16 | ------------------------------------

2022-08-02 23:07:16 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-3cfd9bf4-050a-46fd-aa88-cd0f4e8763d3)</node-pattern></data>

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

subscribeNodes 1.146s
2022-08-02 23:07:14 |

2022-08-02 23:07:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-02 23:07:14 | ------------------------------------

2022-08-02 23:07:14 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-3cfd9bf4-050a-46fd-aa88-cd0f4e8763d3</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.207s
2022-08-02 23:07:16 |

2022-08-02 23:07:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-02 23:07:16 | ------------------------------------

2022-08-02 23:07:16 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-3cfd9bf4-050a-46fd-aa88-cd0f4e8763d3</node><jids><value>admin@test-domain.com</value></jids></data>

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