Generated by TestNG with ReportNG at 21:17 PST on Tuesday 26 January 2021
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.717s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.714s
2021-01-26 21:31:47 |

2021-01-26 21:31:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-01-26 21:31:47 | ------------------------------------

2021-01-26 21:31:47 | [Mutex] isItemNotified: node_towdik0203:exists :: false

2021-01-26 21:31:47 | [Mutex] waiting for: [node_towdik0203:create_node]

2021-01-26 21:31:47 | [Mutex] received everything.

2021-01-26 21:31:47 | [Mutex] isItemNotified: node_towdik0203:create_node:success :: true

2021-01-26 21:31:47 | [Mutex] waiting for: [node_towdik0203:subscribe_node]

2021-01-26 21:31:47 | [Mutex] waiting for: [node_towdik0203:subscribe_node]

2021-01-26 21:31:47 | [Mutex] received everything.

2021-01-26 21:31:47 | [Mutex] isItemNotified: node_towdik0203:subscribe_node:success :: true

2021-01-26 21:31:47 |


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


2021-01-26 21:31:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-26 21:31:47 | command: <data><node>node_towdik0203</node><entry><content>content_q8h78t0204</content></entry></data>

2021-01-26 21:31:47 | target: http://localhost:8088

2021-01-26 21:31:47 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-01-26 21:31:47 | entity: <data><node>node_towdik0203</node><entry><content>content_q8h78t0204</content></entry></data>

2021-01-26 21:31:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 Jan 2021 05:31:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-26 21:31:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d825b8c8-1d93-43e3-bc99-db4a1ff97418</value></item-id></result>

2021-01-26 21:31:47 | contains: true

2021-01-26 21:31:47 | [Mutex] received everything.

2021-01-26 21:31:47 | [Mutex] isItemNotified: user_regulard0xm090202@test-domain.com:message:received:content_q8h78t0204 :: true

2021-01-26 21:31:47 |


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


2021-01-26 21:31:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-26 21:31:47 | command: <data><node>node_towdik0203</node><expire-at>2021-01-27T05:31:42Z</expire-at><entry><content>content_hju37e0205</content></entry></data>

2021-01-26 21:31:47 | target: http://localhost:8088

2021-01-26 21:31:47 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-01-26 21:31:47 | entity: <data><node>node_towdik0203</node><expire-at>2021-01-27T05:31:42Z</expire-at><entry><content>content_hju37e0205</content></entry></data>

2021-01-26 21:31:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 Jan 2021 05:31:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-26 21:31:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>502d6c3e-9bae-4dea-9e6b-ca0510d86f33</value></item-id></result>

2021-01-26 21:31:47 | contains: true

2021-01-26 21:31:47 | [Mutex] waiting for: [user_regulard0xm090202@test-domain.com:message:received:content_hju37e0205]

2021-01-26 21:32:02 | [Mutex] timeout. Not received [user_regulard0xm090202@test-domain.com:message:received:content_hju37e0205]

2021-01-26 21:32:02 | [Mutex] isItemNotified: user_regulard0xm090202@test-domain.com:message:received:content_hju37e0205 :: false

2021-01-26 21:32:02 |


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


2021-01-26 21:32:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-26 21:32:02 | command: <data><node>node_towdik0203</node><entry><content>content_sqovwd0206</content></entry></data>

2021-01-26 21:32:02 | target: http://localhost:8088

2021-01-26 21:32:02 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-01-26 21:32:02 | entity: <data><node>node_towdik0203</node><entry><content>content_sqovwd0206</content></entry></data>

2021-01-26 21:32:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 Jan 2021 05:32:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-26 21:32:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c4e5f8e6-2324-49a7-b8d8-bc020b5d05ab</value></item-id></result>

2021-01-26 21:32:02 | contains: true

2021-01-26 21:32:08 | [Mutex] waiting for: [user_regulard0xm090202@test-domain.com:message:received:content_sqovwd0206]

2021-01-26 21:32:08 | [Mutex] received everything.

2021-01-26 21:32:08 | [Mutex] isItemNotified: user_regulard0xm090202@test-domain.com:message:received:content_sqovwd0206 :: true

2021-01-26 21:32:08 |


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


2021-01-26 21:32:08 | [Mutex] received everything.

2021-01-26 21:32:08 | [Mutex] isItemNotified: node_towdik0203:subscribe_node:success :: true

2021-01-26 21:32:08 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-26 21:32:08 | command: <data><node>node_towdik0203</node><expire-at>2021-01-27T05:32:13Z</expire-at><entry><content>content_1dtyym0207</content></entry></data>

2021-01-26 21:32:08 | target: http://localhost:8088

2021-01-26 21:32:08 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-01-26 21:32:08 | entity: <data><node>node_towdik0203</node><expire-at>2021-01-27T05:32:13Z</expire-at><entry><content>content_1dtyym0207</content></entry></data>

2021-01-26 21:32:08 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 Jan 2021 05:32:08 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-26 21:32:08 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>deb05cec-a7ca-4527-81ce-66d2439473b0</value></item-id></result>

2021-01-26 21:32:08 | contains: true

2021-01-26 21:32:16 | [Mutex] waiting for: [user_regulard0xm090202@test-domain.com:message:received:content_1dtyym0207]

2021-01-26 21:32:31 | [Mutex] timeout. Not received [user_regulard0xm090202@test-domain.com:message:received:content_1dtyym0207]

2021-01-26 21:32:31 | [Mutex] received everything.

2021-01-26 21:32:31 | [Mutex] isItemNotified: user_regulard0xm090202@test-domain.com:message:received:content_1dtyym0207 :: false

2021-01-26 21:32:31 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_1dtyym0207 :: true