Generated by TestNG with ReportNG at 21:42 PST on Monday 09 November 2020
root@87f6aca6b6f2 / 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.760s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.841s
2020-11-09 22:00:22 |

2020-11-09 22:00:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-11-09 22:00:22 | ------------------------------------

2020-11-09 22:00:22 | [Mutex] isItemNotified: node_vv3gxz0203:exists :: false

2020-11-09 22:00:22 | [Mutex] waiting for: [node_vv3gxz0203:create_node]

2020-11-09 22:00:22 | [Mutex] received everything.

2020-11-09 22:00:22 | [Mutex] isItemNotified: node_vv3gxz0203:create_node:success :: true

2020-11-09 22:00:22 | [Mutex] waiting for: [node_vv3gxz0203:subscribe_node]

2020-11-09 22:00:22 | [Mutex] waiting for: [node_vv3gxz0203:subscribe_node]

2020-11-09 22:00:22 | [Mutex] received everything.

2020-11-09 22:00:22 | [Mutex] isItemNotified: node_vv3gxz0203:subscribe_node:success :: true

2020-11-09 22:00:22 |


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


2020-11-09 22:00:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-09 22:00:22 | command: <data><node>node_vv3gxz0203</node><entry><content>content_dyvufq0204</content></entry></data>

2020-11-09 22:00:22 | target: http://localhost:8088

2020-11-09 22:00:22 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-11-09 22:00:22 | entity: <data><node>node_vv3gxz0203</node><entry><content>content_dyvufq0204</content></entry></data>

2020-11-09 22:00:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 10 Nov 2020 06:00:22 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-09 22:00:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>19e4f887-44b7-43f5-bea9-18a7407fce54</value></item-id></result>

2020-11-09 22:00:22 | contains: true

2020-11-09 22:00:22 | [Mutex] waiting for: [user_regularae30d20202@test-domain.com:message:received:content_dyvufq0204]

2020-11-09 22:00:22 | [Mutex] received everything.

2020-11-09 22:00:22 | [Mutex] isItemNotified: user_regularae30d20202@test-domain.com:message:received:content_dyvufq0204 :: true

2020-11-09 22:00:22 |


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


2020-11-09 22:00:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-09 22:00:22 | command: <data><node>node_vv3gxz0203</node><expire-at>2020-11-10T06:00:17Z</expire-at><entry><content>content_k2213j0205</content></entry></data>

2020-11-09 22:00:22 | target: http://localhost:8088

2020-11-09 22:00:22 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-11-09 22:00:22 | entity: <data><node>node_vv3gxz0203</node><expire-at>2020-11-10T06:00:17Z</expire-at><entry><content>content_k2213j0205</content></entry></data>

2020-11-09 22:00:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 10 Nov 2020 06:00:22 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-09 22:00:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>79d2eaee-67a3-4555-9fc7-ec2581cccc24</value></item-id></result>

2020-11-09 22:00:22 | contains: true

2020-11-09 22:00:22 | [Mutex] waiting for: [user_regularae30d20202@test-domain.com:message:received:content_k2213j0205]

2020-11-09 22:00:37 | [Mutex] timeout. Not received [user_regularae30d20202@test-domain.com:message:received:content_k2213j0205]

2020-11-09 22:00:37 | [Mutex] isItemNotified: user_regularae30d20202@test-domain.com:message:received:content_k2213j0205 :: false

2020-11-09 22:00:37 |


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


2020-11-09 22:00:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-09 22:00:38 | command: <data><node>node_vv3gxz0203</node><entry><content>content_wgoxjo0206</content></entry></data>

2020-11-09 22:00:38 | target: http://localhost:8088

2020-11-09 22:00:38 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-11-09 22:00:38 | entity: <data><node>node_vv3gxz0203</node><entry><content>content_wgoxjo0206</content></entry></data>

2020-11-09 22:00:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 10 Nov 2020 06:00:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-09 22:00:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5ca3dca9-a173-4258-82bc-09202ab23fc8</value></item-id></result>

2020-11-09 22:00:38 | contains: true

2020-11-09 22:00:43 | [Mutex] waiting for: [user_regularae30d20202@test-domain.com:message:received:content_wgoxjo0206]

2020-11-09 22:00:43 | [Mutex] waiting for: [user_regularae30d20202@test-domain.com:message:received:content_wgoxjo0206]

2020-11-09 22:00:43 | [Mutex] received everything.

2020-11-09 22:00:43 | [Mutex] isItemNotified: user_regularae30d20202@test-domain.com:message:received:content_wgoxjo0206 :: true

2020-11-09 22:00:43 |


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


2020-11-09 22:00:43 | [Mutex] received everything.

2020-11-09 22:00:43 | [Mutex] isItemNotified: node_vv3gxz0203:subscribe_node:success :: true

2020-11-09 22:00:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-09 22:00:43 | command: <data><node>node_vv3gxz0203</node><expire-at>2020-11-10T06:00:48Z</expire-at><entry><content>content_pmfgv10207</content></entry></data>

2020-11-09 22:00:43 | target: http://localhost:8088

2020-11-09 22:00:43 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-11-09 22:00:43 | entity: <data><node>node_vv3gxz0203</node><expire-at>2020-11-10T06:00:48Z</expire-at><entry><content>content_pmfgv10207</content></entry></data>

2020-11-09 22:00:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 10 Nov 2020 06:00:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-09 22:00:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d6106c52-7228-440b-bdd4-e69476cb738a</value></item-id></result>

2020-11-09 22:00:43 | contains: true

2020-11-09 22:00:51 | [Mutex] waiting for: [user_regularae30d20202@test-domain.com:message:received:content_pmfgv10207]

2020-11-09 22:00:51 | [Mutex] waiting for: [user_regularae30d20202@test-domain.com:message:received:content_pmfgv10207]

2020-11-09 22:01:06 | [Mutex] timeout. Not received [user_regularae30d20202@test-domain.com:message:received:content_pmfgv10207]

2020-11-09 22:01:06 | [Mutex] received everything.

2020-11-09 22:01:06 | [Mutex] isItemNotified: user_regularae30d20202@test-domain.com:message:received:content_pmfgv10207 :: false

2020-11-09 22:01:06 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_pmfgv10207 :: true