Generated by TestNG with ReportNG at 22:30 PDT on Wednesday 26 August 2020
root@18d694fe8e0a / Java 11.0.8 (Ubuntu) / 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.903s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.110s
2020-08-26 22:46:19 |

2020-08-26 22:46:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-26 22:46:19 | ------------------------------------

2020-08-26 22:46:19 | [Mutex] waiting for: [configured:node:node-0aedab76-0582-48d3-a7ed-01cef8413368:node-9ab6a056-0f77-4657-b934-f297043f6a61]

2020-08-26 22:46:19 | [Mutex] received everything.

2020-08-26 22:46:19 | [Mutex] isItemNotified: configured:node:node-0aedab76-0582-48d3-a7ed-01cef8413368:node-9ab6a056-0f77-4657-b934-f297043f6a61 :: true

2020-08-26 22:46:20 | [Mutex] waiting for: [received:nodes:7675ccfc-f1d9-474a-a892-dcc24cf7f97b:localhost]

2020-08-26 22:46:20 | [Mutex] received everything.

2020-08-26 22:46:20 | [Mutex] isItemNotified: received:node:7675ccfc-f1d9-474a-a892-dcc24cf7f97b:localhost:node-0aedab76-0582-48d3-a7ed-01cef8413368:Node 0aedab76-0582-48d3-a7ed-01cef8413368 :: true

2020-08-26 22:46:20 | [Mutex] waiting for: [received:nodes:eac9803f-53bc-42a1-819f-b329c5b29ab7:localhost]

2020-08-26 22:46:20 | [Mutex] received everything.

2020-08-26 22:46:20 | [Mutex] isItemNotified: received:node:eac9803f-53bc-42a1-819f-b329c5b29ab7:localhost:node-0aedab76-0582-48d3-a7ed-01cef8413368:Node 0aedab76-0582-48d3-a7ed-01cef8413368 :: false

createNodes 1.453s
2020-08-26 22:46:17 |

2020-08-26 22:46:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-26 22:46:17 | ------------------------------------

2020-08-26 22:46:17 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-0aedab76-0582-48d3-a7ed-01cef8413368</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 0aedab76-0582-48d3-a7ed-01cef8413368</title></pubsub></data>

2020-08-26 22:46:17 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-08-26 22:46:18 | [Mutex] waiting for: [received:nodes:5c10111a-731c-4ef1-a854-341bca8ffaf9:localhost]

2020-08-26 22:46:18 | [Mutex] waiting for: [received:nodes:5c10111a-731c-4ef1-a854-341bca8ffaf9:localhost]

2020-08-26 22:46:18 | [Mutex] received everything.

2020-08-26 22:46:18 | [Mutex] isItemNotified: received:node:5c10111a-731c-4ef1-a854-341bca8ffaf9:localhost:node-0aedab76-0582-48d3-a7ed-01cef8413368:Node 0aedab76-0582-48d3-a7ed-01cef8413368 :: true

createSubnodes 1.024s
2020-08-26 22:46:18 |

2020-08-26 22:46:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-26 22:46:18 | ------------------------------------

2020-08-26 22:46:18 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-9ab6a056-0f77-4657-b934-f297043f6a61</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 9ab6a056-0f77-4657-b934-f297043f6a61</title></pubsub></data>

2020-08-26 22:46:18 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-08-26 22:46:19 | [Mutex] waiting for: [received:nodes:2b5c5214-2c52-4e4c-9df2-b230b313f54f:localhost]

2020-08-26 22:46:19 | [Mutex] received everything.

2020-08-26 22:46:19 | [Mutex] isItemNotified: received:node:2b5c5214-2c52-4e4c-9df2-b230b313f54f:localhost:node-9ab6a056-0f77-4657-b934-f297043f6a61:Node 9ab6a056-0f77-4657-b934-f297043f6a61 :: true

deleteNodes 1.022s
2020-08-26 22:46:24 |

2020-08-26 22:46:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-26 22:46:24 | ------------------------------------

2020-08-26 22:46:24 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-9ab6a056-0f77-4657-b934-f297043f6a61</node></data>

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

2020-08-26 22:46:25 | [Mutex] waiting for: [received:nodes:7328336d-2c93-43f5-92a2-1850caeeb849:localhost]

2020-08-26 22:46:25 | [Mutex] received everything.

2020-08-26 22:46:25 | [Mutex] isItemNotified: received:node:7328336d-2c93-43f5-92a2-1850caeeb849:localhost:node-9ab6a056-0f77-4657-b934-f297043f6a61:Node 9ab6a056-0f77-4657-b934-f297043f6a61 :: false

deleteSubnodes 1.146s
2020-08-26 22:46:23 |

2020-08-26 22:46:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-26 22:46:23 | ------------------------------------

2020-08-26 22:46:23 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-0aedab76-0582-48d3-a7ed-01cef8413368</node></data>

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

2020-08-26 22:46:24 | [Mutex] waiting for: [received:nodes:f6fd8ca9-dc20-410b-84b1-6f41d7c7efef:localhost]

2020-08-26 22:46:24 | [Mutex] waiting for: [received:nodes:f6fd8ca9-dc20-410b-84b1-6f41d7c7efef:localhost]

2020-08-26 22:46:24 | [Mutex] waiting for: [received:nodes:f6fd8ca9-dc20-410b-84b1-6f41d7c7efef:localhost]

2020-08-26 22:46:24 | [Mutex] received everything.

2020-08-26 22:46:24 | [Mutex] isItemNotified: received:node:f6fd8ca9-dc20-410b-84b1-6f41d7c7efef:localhost:node-0aedab76-0582-48d3-a7ed-01cef8413368:Node 0aedab76-0582-48d3-a7ed-01cef8413368 :: false

2020-08-26 22:46:24 | [Mutex] waiting for: [received:nodes:3b8eb0d8-1e5f-41da-9b1a-d17f484f818a:localhost]

2020-08-26 22:46:24 | [Mutex] received everything.

2020-08-26 22:46:24 | [Mutex] isItemNotified: received:node:3b8eb0d8-1e5f-41da-9b1a-d17f484f818a:localhost:node-0aedab76-0582-48d3-a7ed-01cef8413368:Node 0aedab76-0582-48d3-a7ed-01cef8413368 :: false

publishItemsToNodes 0.215s
2020-08-26 22:46:21 |

2020-08-26 22:46:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-26 22:46:21 | ------------------------------------

2020-08-26 22:46:21 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-0aedab76-0582-48d3-a7ed-01cef8413368</node><item-id>item-13047e2f-c3a3-4dac-b167-6c815077619a</item-id><entry><test>item-13047e2f-c3a3-4dac-b167-6c815077619a</test></entry></data>

2020-08-26 22:46:21 | 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-13047e2f-c3a3-4dac-b167-6c815077619a</value></item-id></result>

2020-08-26 22:46:21 | [Mutex] waiting for: [published:item:notifieditem-13047e2f-c3a3-4dac-b167-6c815077619a:admin@test-domain.com]

2020-08-26 22:46:21 | [Mutex] received everything.

2020-08-26 22:46:21 | [Mutex] isItemNotified: published:item:notifieditem-13047e2f-c3a3-4dac-b167-6c815077619a:admin@test-domain.com :: true

retractItemsFromNodes 0.149s
2020-08-26 22:46:22 |

2020-08-26 22:46:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-26 22:46:22 | ------------------------------------

2020-08-26 22:46:22 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-0aedab76-0582-48d3-a7ed-01cef8413368</node><item-id>item-13047e2f-c3a3-4dac-b167-6c815077619a</item-id></data>

2020-08-26 22:46:22 | 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-13047e2f-c3a3-4dac-b167-6c815077619a</value></item-id></result>

2020-08-26 22:46:22 | [Mutex] waiting for: [retracted:item:notifieditem-13047e2f-c3a3-4dac-b167-6c815077619a:admin@test-domain.com]

2020-08-26 22:46:22 | [Mutex] received everything.

2020-08-26 22:46:22 | [Mutex] isItemNotified: retracted:item:notifieditem-13047e2f-c3a3-4dac-b167-6c815077619a:admin@test-domain.com :: true

retrieveItemsFromNodes 0.224s
2020-08-26 22:46:21 |

2020-08-26 22:46:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-26 22:46:21 | ------------------------------------

2020-08-26 22:46:21 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-0aedab76-0582-48d3-a7ed-01cef8413368</node><item-id>item-13047e2f-c3a3-4dac-b167-6c815077619a</item-id></data>

2020-08-26 22:46:22 | 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-0aedab76-0582-48d3-a7ed-01cef8413368</value></node><item-id type="text-single" label="Item ID"><value>item-13047e2f-c3a3-4dac-b167-6c815077619a</value></item-id><item type="text-multi" label="Item"><value><item id="item-13047e2f-c3a3-4dac-b167-6c815077619a"><test>item-13047e2f-c3a3-4dac-b167-6c815077619a</test></item></value></item></result>

2020-08-26 22:46:22 | [Mutex] notify: [retrieved:item:item-13047e2f-c3a3-4dac-b167-6c815077619a:payload-matches:true:localhost]

2020-08-26 22:46:22 | [Mutex] received everything.

2020-08-26 22:46:22 | [Mutex] isItemNotified: retrieved:item:item-13047e2f-c3a3-4dac-b167-6c815077619a:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.055s
2020-08-26 22:46:22 |

2020-08-26 22:46:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-26 22:46:22 | ------------------------------------

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

2020-08-26 22:46:22 | 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-0aedab76-0582-48d3-a7ed-01cef8413368</value><value>node-9ab6a056-0f77-4657-b934-f297043f6a61</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2020-08-26 22:46:22 |

2020-08-26 22:46:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-26 22:46:22 | ------------------------------------

2020-08-26 22:46:22 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-0aedab76-0582-48d3-a7ed-01cef8413368)</node-pattern></data>

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

subscribeNodes 1.143s
2020-08-26 22:46:20 |

2020-08-26 22:46:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-26 22:46:20 | ------------------------------------

2020-08-26 22:46:20 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-0aedab76-0582-48d3-a7ed-01cef8413368</node><jids><value>admin@test-domain.com</value></jids></data>

2020-08-26 22:46:20 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.305s
2020-08-26 22:46:22 |

2020-08-26 22:46:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-26 22:46:22 | ------------------------------------

2020-08-26 22:46:22 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-0aedab76-0582-48d3-a7ed-01cef8413368</node><jids><value>admin@test-domain.com</value></jids></data>

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