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

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.706s
2020-11-23 21:57:22 |

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

2020-11-23 21:57:22 | ------------------------------------

2020-11-23 21:57:22 | [Mutex] isItemNotified: node_nfy5z70203:exists :: false

2020-11-23 21:57:22 | [Mutex] waiting for: [node_nfy5z70203:create_node]

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

2020-11-23 21:57:22 | [Mutex] isItemNotified: node_nfy5z70203:create_node:success :: true

2020-11-23 21:57:22 | [Mutex] waiting for: [node_nfy5z70203:subscribe_node]

2020-11-23 21:57:22 | [Mutex] waiting for: [node_nfy5z70203:subscribe_node]

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

2020-11-23 21:57:22 | [Mutex] isItemNotified: node_nfy5z70203:subscribe_node:success :: true

2020-11-23 21:57:22 |


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


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

2020-11-23 21:57:22 | command: <data><node>node_nfy5z70203</node><entry><content>content_u536vj0204</content></entry></data>

2020-11-23 21:57:22 | target: http://localhost:8088

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

2020-11-23 21:57:22 | entity: <data><node>node_nfy5z70203</node><entry><content>content_u536vj0204</content></entry></data>

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

2020-11-23 21:57:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f355582e-d25b-4d80-995f-5c1d08bee999</value></item-id></result>

2020-11-23 21:57:22 | contains: true

2020-11-23 21:57:22 | [Mutex] waiting for: [user_regularwkqk4a0202@test-domain.com:message:received:content_u536vj0204]

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

2020-11-23 21:57:22 | [Mutex] isItemNotified: user_regularwkqk4a0202@test-domain.com:message:received:content_u536vj0204 :: true

2020-11-23 21:57:22 |


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


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

2020-11-23 21:57:22 | command: <data><node>node_nfy5z70203</node><expire-at>2020-11-24T05:57:17Z</expire-at><entry><content>content_hx7wge0205</content></entry></data>

2020-11-23 21:57:22 | target: http://localhost:8088

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

2020-11-23 21:57:22 | entity: <data><node>node_nfy5z70203</node><expire-at>2020-11-24T05:57:17Z</expire-at><entry><content>content_hx7wge0205</content></entry></data>

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

2020-11-23 21:57:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9102b5b8-1f1e-4719-89ff-c6067ba8338c</value></item-id></result>

2020-11-23 21:57:22 | contains: true

2020-11-23 21:57:22 | [Mutex] waiting for: [user_regularwkqk4a0202@test-domain.com:message:received:content_hx7wge0205]

2020-11-23 21:57:37 | [Mutex] timeout. Not received [user_regularwkqk4a0202@test-domain.com:message:received:content_hx7wge0205]

2020-11-23 21:57:37 | [Mutex] isItemNotified: user_regularwkqk4a0202@test-domain.com:message:received:content_hx7wge0205 :: false

2020-11-23 21:57:37 |


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


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

2020-11-23 21:57:37 | command: <data><node>node_nfy5z70203</node><entry><content>content_x5t0240206</content></entry></data>

2020-11-23 21:57:37 | target: http://localhost:8088

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

2020-11-23 21:57:37 | entity: <data><node>node_nfy5z70203</node><entry><content>content_x5t0240206</content></entry></data>

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

2020-11-23 21:57:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>3948b4d8-a9b8-49af-9223-bdfe90b3f04c</value></item-id></result>

2020-11-23 21:57:37 | contains: true

2020-11-23 21:57:42 | [Mutex] waiting for: [user_regularwkqk4a0202@test-domain.com:message:received:content_x5t0240206]

2020-11-23 21:57:42 | [Mutex] waiting for: [user_regularwkqk4a0202@test-domain.com:message:received:content_x5t0240206]

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

2020-11-23 21:57:42 | [Mutex] isItemNotified: user_regularwkqk4a0202@test-domain.com:message:received:content_x5t0240206 :: true

2020-11-23 21:57:42 |


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


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

2020-11-23 21:57:42 | [Mutex] isItemNotified: node_nfy5z70203:subscribe_node:success :: true

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

2020-11-23 21:57:42 | command: <data><node>node_nfy5z70203</node><expire-at>2020-11-24T05:57:47Z</expire-at><entry><content>content_w9jewr0207</content></entry></data>

2020-11-23 21:57:42 | target: http://localhost:8088

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

2020-11-23 21:57:42 | entity: <data><node>node_nfy5z70203</node><expire-at>2020-11-24T05:57:47Z</expire-at><entry><content>content_w9jewr0207</content></entry></data>

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

2020-11-23 21:57:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5363ced5-bfd8-466b-8f22-06e102016bb4</value></item-id></result>

2020-11-23 21:57:42 | contains: true

2020-11-23 21:57:50 | [Mutex] waiting for: [user_regularwkqk4a0202@test-domain.com:message:received:content_w9jewr0207]

2020-11-23 21:58:05 | [Mutex] timeout. Not received [user_regularwkqk4a0202@test-domain.com:message:received:content_w9jewr0207]

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

2020-11-23 21:58:05 | [Mutex] isItemNotified: user_regularwkqk4a0202@test-domain.com:message:received:content_w9jewr0207 :: false

2020-11-23 21:58:05 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_w9jewr0207 :: true