Generated by TestNG with ReportNG at 21:42 PST on Sunday 01 November 2020
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.567s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.789s
2020-11-01 21:57:44 |

2020-11-01 21:57:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-11-01 21:57:44 | ------------------------------------

2020-11-01 21:57:44 | [Mutex] isItemNotified: node_fy5jwy0203:exists :: false

2020-11-01 21:57:44 | [Mutex] waiting for: [node_fy5jwy0203:create_node]

2020-11-01 21:57:44 | [Mutex] received everything.

2020-11-01 21:57:44 | [Mutex] isItemNotified: node_fy5jwy0203:create_node:success :: true

2020-11-01 21:57:44 | [Mutex] waiting for: [node_fy5jwy0203:subscribe_node]

2020-11-01 21:57:44 | [Mutex] waiting for: [node_fy5jwy0203:subscribe_node]

2020-11-01 21:57:44 | [Mutex] received everything.

2020-11-01 21:57:44 | [Mutex] isItemNotified: node_fy5jwy0203:subscribe_node:success :: true

2020-11-01 21:57:44 |


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


2020-11-01 21:57:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-01 21:57:44 | command: <data><node>node_fy5jwy0203</node><entry><content>content_z1k9wv0204</content></entry></data>

2020-11-01 21:57:44 | target: http://localhost:8088

2020-11-01 21:57:44 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-11-01 21:57:44 | entity: <data><node>node_fy5jwy0203</node><entry><content>content_z1k9wv0204</content></entry></data>

2020-11-01 21:57:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 02 Nov 2020 05:57:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-01 21:57:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>babbc8b1-6728-4038-82d6-f1921a98a3fd</value></item-id></result>

2020-11-01 21:57:44 | contains: true

2020-11-01 21:57:44 | [Mutex] waiting for: [user_regularnpeaat0202@test-domain.com:message:received:content_z1k9wv0204]

2020-11-01 21:57:44 | [Mutex] received everything.

2020-11-01 21:57:44 | [Mutex] isItemNotified: user_regularnpeaat0202@test-domain.com:message:received:content_z1k9wv0204 :: true

2020-11-01 21:57:44 |


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


2020-11-01 21:57:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-01 21:57:44 | command: <data><node>node_fy5jwy0203</node><expire-at>2020-11-02T05:57:39Z</expire-at><entry><content>content_i0cv4t0205</content></entry></data>

2020-11-01 21:57:44 | target: http://localhost:8088

2020-11-01 21:57:44 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-11-01 21:57:44 | entity: <data><node>node_fy5jwy0203</node><expire-at>2020-11-02T05:57:39Z</expire-at><entry><content>content_i0cv4t0205</content></entry></data>

2020-11-01 21:57:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 02 Nov 2020 05:57:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-01 21:57:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a8e03aad-0fe5-4f87-b0f2-9cea688ee1b5</value></item-id></result>

2020-11-01 21:57:44 | contains: true

2020-11-01 21:57:44 | [Mutex] waiting for: [user_regularnpeaat0202@test-domain.com:message:received:content_i0cv4t0205]

2020-11-01 21:57:59 | [Mutex] timeout. Not received [user_regularnpeaat0202@test-domain.com:message:received:content_i0cv4t0205]

2020-11-01 21:57:59 | [Mutex] isItemNotified: user_regularnpeaat0202@test-domain.com:message:received:content_i0cv4t0205 :: false

2020-11-01 21:57:59 |


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


2020-11-01 21:57:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-01 21:57:59 | command: <data><node>node_fy5jwy0203</node><entry><content>content_wh0fkh0206</content></entry></data>

2020-11-01 21:57:59 | target: http://localhost:8088

2020-11-01 21:57:59 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-11-01 21:57:59 | entity: <data><node>node_fy5jwy0203</node><entry><content>content_wh0fkh0206</content></entry></data>

2020-11-01 21:57:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 02 Nov 2020 05:57:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-01 21:57:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0a4f9663-3a4e-432f-a268-bf8a65976de1</value></item-id></result>

2020-11-01 21:57:59 | contains: true

2020-11-01 21:58:05 | [Mutex] waiting for: [user_regularnpeaat0202@test-domain.com:message:received:content_wh0fkh0206]

2020-11-01 21:58:05 | [Mutex] received everything.

2020-11-01 21:58:05 | [Mutex] isItemNotified: user_regularnpeaat0202@test-domain.com:message:received:content_wh0fkh0206 :: true

2020-11-01 21:58:05 |


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


2020-11-01 21:58:05 | [Mutex] received everything.

2020-11-01 21:58:05 | [Mutex] isItemNotified: node_fy5jwy0203:subscribe_node:success :: true

2020-11-01 21:58:05 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-01 21:58:05 | command: <data><node>node_fy5jwy0203</node><expire-at>2020-11-02T05:58:10Z</expire-at><entry><content>content_6i65l40207</content></entry></data>

2020-11-01 21:58:05 | target: http://localhost:8088

2020-11-01 21:58:05 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-11-01 21:58:05 | entity: <data><node>node_fy5jwy0203</node><expire-at>2020-11-02T05:58:10Z</expire-at><entry><content>content_6i65l40207</content></entry></data>

2020-11-01 21:58:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 02 Nov 2020 05:58:05 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-01 21:58:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7ab92d33-8005-471a-bdcf-75efd13a7a63</value></item-id></result>

2020-11-01 21:58:05 | contains: true

2020-11-01 21:58:13 | [Mutex] waiting for: [user_regularnpeaat0202@test-domain.com:message:received:content_6i65l40207]

2020-11-01 21:58:13 | [Mutex] waiting for: [user_regularnpeaat0202@test-domain.com:message:received:content_6i65l40207]

2020-11-01 21:58:28 | [Mutex] timeout. Not received [user_regularnpeaat0202@test-domain.com:message:received:content_6i65l40207]

2020-11-01 21:58:28 | [Mutex] received everything.

2020-11-01 21:58:28 | [Mutex] isItemNotified: user_regularnpeaat0202@test-domain.com:message:received:content_6i65l40207 :: false

2020-11-01 21:58:28 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_6i65l40207 :: true