Generated by TestNG with ReportNG at 03:48 PST on Friday 05 March 2021
root@eaa73862192b / Java 11.0.8 (Ubuntu) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Item publication on PubSub node with message expiration using REST API - #2959

Suites · Log Output

Test duration : 45.372s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.618s
2021-03-05 04:03:10 |

2021-03-05 04:03:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-03-05 04:03:10 | ------------------------------------

2021-03-05 04:03:10 | [Mutex] isItemNotified: node_k0tnrn0203:exists :: false

2021-03-05 04:03:10 | [Mutex] waiting for: [node_k0tnrn0203:create_node]

2021-03-05 04:03:10 | [Mutex] received everything.

2021-03-05 04:03:10 | [Mutex] isItemNotified: node_k0tnrn0203:create_node:success :: true

2021-03-05 04:03:10 | [Mutex] waiting for: [node_k0tnrn0203:subscribe_node]

2021-03-05 04:03:10 | [Mutex] waiting for: [node_k0tnrn0203:subscribe_node]

2021-03-05 04:03:10 | [Mutex] received everything.

2021-03-05 04:03:10 | [Mutex] isItemNotified: node_k0tnrn0203:subscribe_node:success :: true

2021-03-05 04:03:10 |


===== publishing normal message (to online)


2021-03-05 04:03:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-05 04:03:10 | command: <data><node>node_k0tnrn0203</node><entry><content>content_4iuw8m0204</content></entry></data>

2021-03-05 04:03:10 | target: http://localhost:8088

2021-03-05 04:03:10 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-03-05 04:03:10 | entity: <data><node>node_k0tnrn0203</node><entry><content>content_4iuw8m0204</content></entry></data>

2021-03-05 04:03:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 05 Mar 2021 12:03:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-05 04:03:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c4249edb-d5be-4d59-a263-75c604797147</value></item-id></result>

2021-03-05 04:03:11 | contains: true

2021-03-05 04:03:11 | [Mutex] waiting for: [user_regularp3cvh0202@test-domain.com:message:received:content_4iuw8m0204]

2021-03-05 04:03:11 | [Mutex] received everything.

2021-03-05 04:03:11 | [Mutex] isItemNotified: user_regularp3cvh0202@test-domain.com:message:received:content_4iuw8m0204 :: true

2021-03-05 04:03:11 |


===== publishing already old message - expecting message being filtered out (to online)


2021-03-05 04:03:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-05 04:03:11 | command: <data><node>node_k0tnrn0203</node><expire-at>2021-03-05T12:03:06Z</expire-at><entry><content>content_wunczj0205</content></entry></data>

2021-03-05 04:03:11 | target: http://localhost:8088

2021-03-05 04:03:11 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-03-05 04:03:11 | entity: <data><node>node_k0tnrn0203</node><expire-at>2021-03-05T12:03:06Z</expire-at><entry><content>content_wunczj0205</content></entry></data>

2021-03-05 04:03:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 05 Mar 2021 12:03:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-05 04:03:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>01c2a24d-019d-433b-b118-fb50e3a69263</value></item-id></result>

2021-03-05 04:03:11 | contains: true

2021-03-05 04:03:11 | [Mutex] waiting for: [user_regularp3cvh0202@test-domain.com:message:received:content_wunczj0205]

2021-03-05 04:03:26 | [Mutex] timeout. Not received [user_regularp3cvh0202@test-domain.com:message:received:content_wunczj0205]

2021-03-05 04:03:26 | [Mutex] isItemNotified: user_regularp3cvh0202@test-domain.com:message:received:content_wunczj0205 :: false

2021-03-05 04:03:26 |


===== publishing normal message (to offline)


2021-03-05 04:03:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-05 04:03:26 | command: <data><node>node_k0tnrn0203</node><entry><content>content_hxee990206</content></entry></data>

2021-03-05 04:03:26 | target: http://localhost:8088

2021-03-05 04:03:26 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-03-05 04:03:26 | entity: <data><node>node_k0tnrn0203</node><entry><content>content_hxee990206</content></entry></data>

2021-03-05 04:03:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 05 Mar 2021 12:03:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-05 04:03:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2e0596ae-4113-4771-b32c-e3bd9ad4a4d1</value></item-id></result>

2021-03-05 04:03:26 | contains: true

2021-03-05 04:03:31 | [Mutex] waiting for: [user_regularp3cvh0202@test-domain.com:message:received:content_hxee990206]

2021-03-05 04:03:31 | [Mutex] received everything.

2021-03-05 04:03:31 | [Mutex] isItemNotified: user_regularp3cvh0202@test-domain.com:message:received:content_hxee990206 :: true

2021-03-05 04:03:31 |


===== publishing already old message - expecting message being filtered out (to offline)


2021-03-05 04:03:31 | [Mutex] received everything.

2021-03-05 04:03:31 | [Mutex] isItemNotified: node_k0tnrn0203:subscribe_node:success :: true

2021-03-05 04:03:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-05 04:03:31 | command: <data><node>node_k0tnrn0203</node><expire-at>2021-03-05T12:03:36Z</expire-at><entry><content>content_aow1x20207</content></entry></data>

2021-03-05 04:03:31 | target: http://localhost:8088

2021-03-05 04:03:31 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-03-05 04:03:31 | entity: <data><node>node_k0tnrn0203</node><expire-at>2021-03-05T12:03:36Z</expire-at><entry><content>content_aow1x20207</content></entry></data>

2021-03-05 04:03:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 05 Mar 2021 12:03:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-05 04:03:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>141444ee-b1d7-435d-bef3-de4f4f36374f</value></item-id></result>

2021-03-05 04:03:31 | contains: true

2021-03-05 04:03:39 | [Mutex] waiting for: [user_regularp3cvh0202@test-domain.com:message:received:content_aow1x20207]

2021-03-05 04:03:54 | [Mutex] timeout. Not received [user_regularp3cvh0202@test-domain.com:message:received:content_aow1x20207]

2021-03-05 04:03:54 | [Mutex] received everything.

2021-03-05 04:03:54 | [Mutex] isItemNotified: user_regularp3cvh0202@test-domain.com:message:received:content_aow1x20207 :: false

2021-03-05 04:03:54 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_aow1x20207 :: true