Generated by TestNG with ReportNG at 21:42 PST on Monday 09 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.112s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.718s
2020-11-09 21:57:13 |

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

2020-11-09 21:57:13 | ------------------------------------

2020-11-09 21:57:13 | [Mutex] isItemNotified: node_nrw8s10203:exists :: false

2020-11-09 21:57:13 | [Mutex] waiting for: [node_nrw8s10203:create_node]

2020-11-09 21:57:13 | [Mutex] received everything.

2020-11-09 21:57:13 | [Mutex] isItemNotified: node_nrw8s10203:create_node:success :: true

2020-11-09 21:57:13 | [Mutex] waiting for: [node_nrw8s10203:subscribe_node]

2020-11-09 21:57:13 | [Mutex] waiting for: [node_nrw8s10203:subscribe_node]

2020-11-09 21:57:13 | [Mutex] received everything.

2020-11-09 21:57:13 | [Mutex] isItemNotified: node_nrw8s10203:subscribe_node:success :: true

2020-11-09 21:57:13 |


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


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

2020-11-09 21:57:13 | command: <data><node>node_nrw8s10203</node><entry><content>content_76e7ms0204</content></entry></data>

2020-11-09 21:57:13 | target: http://localhost:8088

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

2020-11-09 21:57:13 | entity: <data><node>node_nrw8s10203</node><entry><content>content_76e7ms0204</content></entry></data>

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

2020-11-09 21:57:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>28592cb9-0367-4aa8-aadb-58fc8e9ec304</value></item-id></result>

2020-11-09 21:57:13 | contains: true

2020-11-09 21:57:13 | [Mutex] received everything.

2020-11-09 21:57:13 | [Mutex] isItemNotified: user_regular6fabh80202@test-domain.com:message:received:content_76e7ms0204 :: true

2020-11-09 21:57:13 |


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


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

2020-11-09 21:57:13 | command: <data><node>node_nrw8s10203</node><expire-at>2020-11-10T05:57:08Z</expire-at><entry><content>content_gpczft0205</content></entry></data>

2020-11-09 21:57:13 | target: http://localhost:8088

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

2020-11-09 21:57:13 | entity: <data><node>node_nrw8s10203</node><expire-at>2020-11-10T05:57:08Z</expire-at><entry><content>content_gpczft0205</content></entry></data>

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

2020-11-09 21:57:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e72813d9-08b7-4dca-b3ba-0b6c442df533</value></item-id></result>

2020-11-09 21:57:13 | contains: true

2020-11-09 21:57:13 | [Mutex] waiting for: [user_regular6fabh80202@test-domain.com:message:received:content_gpczft0205]

2020-11-09 21:57:28 | [Mutex] timeout. Not received [user_regular6fabh80202@test-domain.com:message:received:content_gpczft0205]

2020-11-09 21:57:28 | [Mutex] isItemNotified: user_regular6fabh80202@test-domain.com:message:received:content_gpczft0205 :: false

2020-11-09 21:57:28 |


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


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

2020-11-09 21:57:28 | command: <data><node>node_nrw8s10203</node><entry><content>content_rzig1t0206</content></entry></data>

2020-11-09 21:57:28 | target: http://localhost:8088

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

2020-11-09 21:57:28 | entity: <data><node>node_nrw8s10203</node><entry><content>content_rzig1t0206</content></entry></data>

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

2020-11-09 21:57:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9798e569-0b3b-4ab9-a642-ea2385e5f016</value></item-id></result>

2020-11-09 21:57:28 | contains: true

2020-11-09 21:57:33 | [Mutex] waiting for: [user_regular6fabh80202@test-domain.com:message:received:content_rzig1t0206]

2020-11-09 21:57:33 | [Mutex] waiting for: [user_regular6fabh80202@test-domain.com:message:received:content_rzig1t0206]

2020-11-09 21:57:33 | [Mutex] received everything.

2020-11-09 21:57:33 | [Mutex] isItemNotified: user_regular6fabh80202@test-domain.com:message:received:content_rzig1t0206 :: true

2020-11-09 21:57:33 |


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


2020-11-09 21:57:34 | [Mutex] received everything.

2020-11-09 21:57:34 | [Mutex] isItemNotified: node_nrw8s10203:subscribe_node:success :: true

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

2020-11-09 21:57:34 | command: <data><node>node_nrw8s10203</node><expire-at>2020-11-10T05:57:39Z</expire-at><entry><content>content_k99ouc0207</content></entry></data>

2020-11-09 21:57:34 | target: http://localhost:8088

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

2020-11-09 21:57:34 | entity: <data><node>node_nrw8s10203</node><expire-at>2020-11-10T05:57:39Z</expire-at><entry><content>content_k99ouc0207</content></entry></data>

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

2020-11-09 21:57:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>64e9c87e-8f9a-4edf-a809-9c29c79874be</value></item-id></result>

2020-11-09 21:57:34 | contains: true

2020-11-09 21:57:42 | [Mutex] waiting for: [user_regular6fabh80202@test-domain.com:message:received:content_k99ouc0207]

2020-11-09 21:57:57 | [Mutex] timeout. Not received [user_regular6fabh80202@test-domain.com:message:received:content_k99ouc0207]

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

2020-11-09 21:57:57 | [Mutex] isItemNotified: user_regular6fabh80202@test-domain.com:message:received:content_k99ouc0207 :: false

2020-11-09 21:57:57 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_k99ouc0207 :: true