Generated by TestNG with ReportNG at 21:45 PST on Sunday 29 November 2020
root@43fec6d4badf / 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.488s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.800s
2020-11-29 22:02:58 |

2020-11-29 22:02:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-11-29 22:02:58 | ------------------------------------

2020-11-29 22:02:58 | [Mutex] isItemNotified: node_zgas430203:exists :: false

2020-11-29 22:02:58 | [Mutex] waiting for: [node_zgas430203:create_node]

2020-11-29 22:02:58 | [Mutex] received everything.

2020-11-29 22:02:58 | [Mutex] isItemNotified: node_zgas430203:create_node:success :: true

2020-11-29 22:02:58 | [Mutex] waiting for: [node_zgas430203:subscribe_node]

2020-11-29 22:02:58 | [Mutex] waiting for: [node_zgas430203:subscribe_node]

2020-11-29 22:02:58 | [Mutex] received everything.

2020-11-29 22:02:58 | [Mutex] isItemNotified: node_zgas430203:subscribe_node:success :: true

2020-11-29 22:02:58 |


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


2020-11-29 22:02:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-29 22:02:58 | command: <data><node>node_zgas430203</node><entry><content>content_vrna7f0204</content></entry></data>

2020-11-29 22:02:58 | target: http://localhost:8088

2020-11-29 22:02:58 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-11-29 22:02:58 | entity: <data><node>node_zgas430203</node><entry><content>content_vrna7f0204</content></entry></data>

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

2020-11-29 22:02:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c9bd5b56-229d-4629-86e3-3b4b12f34b53</value></item-id></result>

2020-11-29 22:02:58 | contains: true

2020-11-29 22:02:58 | [Mutex] waiting for: [user_regular18ov7f0202@test-domain.com:message:received:content_vrna7f0204]

2020-11-29 22:02:58 | [Mutex] received everything.

2020-11-29 22:02:58 | [Mutex] isItemNotified: user_regular18ov7f0202@test-domain.com:message:received:content_vrna7f0204 :: true

2020-11-29 22:02:58 |


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


2020-11-29 22:02:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-29 22:02:58 | command: <data><node>node_zgas430203</node><expire-at>2020-11-30T06:02:53Z</expire-at><entry><content>content_7mggsy0205</content></entry></data>

2020-11-29 22:02:58 | target: http://localhost:8088

2020-11-29 22:02:58 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-11-29 22:02:58 | entity: <data><node>node_zgas430203</node><expire-at>2020-11-30T06:02:53Z</expire-at><entry><content>content_7mggsy0205</content></entry></data>

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

2020-11-29 22:02:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>65e6afc7-cf10-4c08-93c5-9845350c2347</value></item-id></result>

2020-11-29 22:02:58 | contains: true

2020-11-29 22:02:58 | [Mutex] waiting for: [user_regular18ov7f0202@test-domain.com:message:received:content_7mggsy0205]

2020-11-29 22:03:13 | [Mutex] timeout. Not received [user_regular18ov7f0202@test-domain.com:message:received:content_7mggsy0205]

2020-11-29 22:03:13 | [Mutex] isItemNotified: user_regular18ov7f0202@test-domain.com:message:received:content_7mggsy0205 :: false

2020-11-29 22:03:13 |


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


2020-11-29 22:03:13 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-29 22:03:13 | command: <data><node>node_zgas430203</node><entry><content>content_u7jpkk0206</content></entry></data>

2020-11-29 22:03:13 | target: http://localhost:8088

2020-11-29 22:03:13 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-11-29 22:03:13 | entity: <data><node>node_zgas430203</node><entry><content>content_u7jpkk0206</content></entry></data>

2020-11-29 22:03:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 30 Nov 2020 06:03:13 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-29 22:03:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5df5ef57-99c1-4646-974d-99acb2e5afc5</value></item-id></result>

2020-11-29 22:03:13 | contains: true

2020-11-29 22:03:18 | [Mutex] waiting for: [user_regular18ov7f0202@test-domain.com:message:received:content_u7jpkk0206]

2020-11-29 22:03:18 | [Mutex] received everything.

2020-11-29 22:03:18 | [Mutex] isItemNotified: user_regular18ov7f0202@test-domain.com:message:received:content_u7jpkk0206 :: true

2020-11-29 22:03:18 |


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


2020-11-29 22:03:18 | [Mutex] received everything.

2020-11-29 22:03:18 | [Mutex] isItemNotified: node_zgas430203:subscribe_node:success :: true

2020-11-29 22:03:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-29 22:03:18 | command: <data><node>node_zgas430203</node><expire-at>2020-11-30T06:03:23Z</expire-at><entry><content>content_r98p900207</content></entry></data>

2020-11-29 22:03:18 | target: http://localhost:8088

2020-11-29 22:03:18 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-11-29 22:03:18 | entity: <data><node>node_zgas430203</node><expire-at>2020-11-30T06:03:23Z</expire-at><entry><content>content_r98p900207</content></entry></data>

2020-11-29 22:03:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 30 Nov 2020 06:03:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-29 22:03:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b1865b00-3c92-4017-a4d6-6d85f9701557</value></item-id></result>

2020-11-29 22:03:18 | contains: true

2020-11-29 22:03:27 | [Mutex] waiting for: [user_regular18ov7f0202@test-domain.com:message:received:content_r98p900207]

2020-11-29 22:03:27 | [Mutex] waiting for: [user_regular18ov7f0202@test-domain.com:message:received:content_r98p900207]

2020-11-29 22:03:42 | [Mutex] timeout. Not received [user_regular18ov7f0202@test-domain.com:message:received:content_r98p900207]

2020-11-29 22:03:42 | [Mutex] received everything.

2020-11-29 22:03:42 | [Mutex] isItemNotified: user_regular18ov7f0202@test-domain.com:message:received:content_r98p900207 :: false

2020-11-29 22:03:42 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_r98p900207 :: true