Generated by TestNG with ReportNG at 22:17 PDT on Sunday 14 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.530s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.801s
2021-03-14 22:34:31 |

2021-03-14 22:34:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-03-14 22:34:31 | ------------------------------------

2021-03-14 22:34:31 | [Mutex] isItemNotified: node_5mipf0203:exists :: false

2021-03-14 22:34:31 | [Mutex] waiting for: [node_5mipf0203:create_node]

2021-03-14 22:34:31 | [Mutex] received everything.

2021-03-14 22:34:31 | [Mutex] isItemNotified: node_5mipf0203:create_node:success :: true

2021-03-14 22:34:31 | [Mutex] waiting for: [node_5mipf0203:subscribe_node]

2021-03-14 22:34:31 | [Mutex] received everything.

2021-03-14 22:34:31 | [Mutex] isItemNotified: node_5mipf0203:subscribe_node:success :: true

2021-03-14 22:34:31 |


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


2021-03-14 22:34:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-14 22:34:31 | command: <data><node>node_5mipf0203</node><entry><content>content_elks4c0204</content></entry></data>

2021-03-14 22:34:31 | target: http://localhost:8088

2021-03-14 22:34:31 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2021-03-14 22:34:31 | entity: <data><node>node_5mipf0203</node><entry><content>content_elks4c0204</content></entry></data>

2021-03-14 22:34:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 15 Mar 2021 05:34:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-14 22:34:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>edf12300-0956-4189-8eea-78a806f58bd0</value></item-id></result>

2021-03-14 22:34:32 | contains: true

2021-03-14 22:34:32 | [Mutex] received everything.

2021-03-14 22:34:32 | [Mutex] isItemNotified: user_regularolbqjs0202@test-domain.com:message:received:content_elks4c0204 :: true

2021-03-14 22:34:32 |


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


2021-03-14 22:34:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-14 22:34:32 | command: <data><node>node_5mipf0203</node><expire-at>2021-03-15T05:34:27Z</expire-at><entry><content>content_w6zbrn0205</content></entry></data>

2021-03-14 22:34:32 | target: http://localhost:8088

2021-03-14 22:34:32 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false]

2021-03-14 22:34:32 | entity: <data><node>node_5mipf0203</node><expire-at>2021-03-15T05:34:27Z</expire-at><entry><content>content_w6zbrn0205</content></entry></data>

2021-03-14 22:34:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 15 Mar 2021 05:34:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-14 22:34:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>4a88af2d-ec54-4f52-897c-998028be6e22</value></item-id></result>

2021-03-14 22:34:32 | contains: true

2021-03-14 22:34:32 | [Mutex] waiting for: [user_regularolbqjs0202@test-domain.com:message:received:content_w6zbrn0205]

2021-03-14 22:34:47 | [Mutex] timeout. Not received [user_regularolbqjs0202@test-domain.com:message:received:content_w6zbrn0205]

2021-03-14 22:34:47 | [Mutex] isItemNotified: user_regularolbqjs0202@test-domain.com:message:received:content_w6zbrn0205 :: false

2021-03-14 22:34:47 |


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


2021-03-14 22:34:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-14 22:34:47 | command: <data><node>node_5mipf0203</node><entry><content>content_h7ht8n0206</content></entry></data>

2021-03-14 22:34:47 | target: http://localhost:8088

2021-03-14 22:34:47 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2021-03-14 22:34:47 | entity: <data><node>node_5mipf0203</node><entry><content>content_h7ht8n0206</content></entry></data>

2021-03-14 22:34:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 15 Mar 2021 05:34:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-14 22:34:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>109738b0-db0f-4dd2-819e-686a11b33fa0</value></item-id></result>

2021-03-14 22:34:47 | contains: true

2021-03-14 22:34:52 | [Mutex] waiting for: [user_regularolbqjs0202@test-domain.com:message:received:content_h7ht8n0206]

2021-03-14 22:34:52 | [Mutex] waiting for: [user_regularolbqjs0202@test-domain.com:message:received:content_h7ht8n0206]

2021-03-14 22:34:52 | [Mutex] received everything.

2021-03-14 22:34:52 | [Mutex] isItemNotified: user_regularolbqjs0202@test-domain.com:message:received:content_h7ht8n0206 :: true

2021-03-14 22:34:52 |


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


2021-03-14 22:34:52 | [Mutex] received everything.

2021-03-14 22:34:52 | [Mutex] isItemNotified: node_5mipf0203:subscribe_node:success :: true

2021-03-14 22:34:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-14 22:34:52 | command: <data><node>node_5mipf0203</node><expire-at>2021-03-15T05:34:57Z</expire-at><entry><content>content_asv86q0207</content></entry></data>

2021-03-14 22:34:52 | target: http://localhost:8088

2021-03-14 22:34:52 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false]

2021-03-14 22:34:52 | entity: <data><node>node_5mipf0203</node><expire-at>2021-03-15T05:34:57Z</expire-at><entry><content>content_asv86q0207</content></entry></data>

2021-03-14 22:34:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 15 Mar 2021 05:34:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-14 22:34:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>142cbab5-4348-4e2d-b168-8382fb91d7a8</value></item-id></result>

2021-03-14 22:34:52 | contains: true

2021-03-14 22:35:00 | [Mutex] waiting for: [user_regularolbqjs0202@test-domain.com:message:received:content_asv86q0207]

2021-03-14 22:35:00 | [Mutex] waiting for: [user_regularolbqjs0202@test-domain.com:message:received:content_asv86q0207]

2021-03-14 22:35:00 | [Mutex] waiting for: [user_regularolbqjs0202@test-domain.com:message:received:content_asv86q0207]

2021-03-14 22:35:15 | [Mutex] timeout. Not received [user_regularolbqjs0202@test-domain.com:message:received:content_asv86q0207]

2021-03-14 22:35:15 | [Mutex] received everything.

2021-03-14 22:35:15 | [Mutex] isItemNotified: user_regularolbqjs0202@test-domain.com:message:received:content_asv86q0207 :: false

2021-03-14 22:35:15 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_asv86q0207 :: true