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

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.712s
2020-11-23 21:30:40 |

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

2020-11-23 21:30:40 | ------------------------------------

2020-11-23 21:30:40 | [Mutex] isItemNotified: node_6fsz200203:exists :: false

2020-11-23 21:30:40 | [Mutex] waiting for: [node_6fsz200203:create_node]

2020-11-23 21:30:40 | [Mutex] received everything.

2020-11-23 21:30:40 | [Mutex] isItemNotified: node_6fsz200203:create_node:success :: true

2020-11-23 21:30:40 | [Mutex] waiting for: [node_6fsz200203:subscribe_node]

2020-11-23 21:30:40 | [Mutex] waiting for: [node_6fsz200203:subscribe_node]

2020-11-23 21:30:40 | [Mutex] received everything.

2020-11-23 21:30:40 | [Mutex] isItemNotified: node_6fsz200203:subscribe_node:success :: true

2020-11-23 21:30:40 |


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


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

2020-11-23 21:30:40 | command: <data><node>node_6fsz200203</node><entry><content>content_reyzuw0204</content></entry></data>

2020-11-23 21:30:40 | target: http://localhost:8088

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

2020-11-23 21:30:40 | entity: <data><node>node_6fsz200203</node><entry><content>content_reyzuw0204</content></entry></data>

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

2020-11-23 21:30:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>26c65c12-035c-4fe4-9726-fe9c744974be</value></item-id></result>

2020-11-23 21:30:40 | contains: true

2020-11-23 21:30:40 | [Mutex] waiting for: [user_regularafk8oe0202@test-domain.com:message:received:content_reyzuw0204]

2020-11-23 21:30:40 | [Mutex] received everything.

2020-11-23 21:30:40 | [Mutex] isItemNotified: user_regularafk8oe0202@test-domain.com:message:received:content_reyzuw0204 :: true

2020-11-23 21:30:40 |


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


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

2020-11-23 21:30:40 | command: <data><node>node_6fsz200203</node><expire-at>2020-11-24T05:30:35Z</expire-at><entry><content>content_xo0gxv0205</content></entry></data>

2020-11-23 21:30:40 | target: http://localhost:8088

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

2020-11-23 21:30:40 | entity: <data><node>node_6fsz200203</node><expire-at>2020-11-24T05:30:35Z</expire-at><entry><content>content_xo0gxv0205</content></entry></data>

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

2020-11-23 21:30:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>aa4c4500-8510-4dd4-b3e5-28cdcf5b7e84</value></item-id></result>

2020-11-23 21:30:41 | contains: true

2020-11-23 21:30:41 | [Mutex] waiting for: [user_regularafk8oe0202@test-domain.com:message:received:content_xo0gxv0205]

2020-11-23 21:30:56 | [Mutex] timeout. Not received [user_regularafk8oe0202@test-domain.com:message:received:content_xo0gxv0205]

2020-11-23 21:30:56 | [Mutex] isItemNotified: user_regularafk8oe0202@test-domain.com:message:received:content_xo0gxv0205 :: false

2020-11-23 21:30:56 |


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


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

2020-11-23 21:30:56 | command: <data><node>node_6fsz200203</node><entry><content>content_pfhslj0206</content></entry></data>

2020-11-23 21:30:56 | target: http://localhost:8088

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

2020-11-23 21:30:56 | entity: <data><node>node_6fsz200203</node><entry><content>content_pfhslj0206</content></entry></data>

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

2020-11-23 21:30:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>793261d0-66fc-45f4-970d-98779f4a441e</value></item-id></result>

2020-11-23 21:30:56 | contains: true

2020-11-23 21:31:01 | [Mutex] waiting for: [user_regularafk8oe0202@test-domain.com:message:received:content_pfhslj0206]

2020-11-23 21:31:01 | [Mutex] received everything.

2020-11-23 21:31:01 | [Mutex] isItemNotified: user_regularafk8oe0202@test-domain.com:message:received:content_pfhslj0206 :: true

2020-11-23 21:31:01 |


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


2020-11-23 21:31:01 | [Mutex] received everything.

2020-11-23 21:31:01 | [Mutex] isItemNotified: node_6fsz200203:subscribe_node:success :: true

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

2020-11-23 21:31:01 | command: <data><node>node_6fsz200203</node><expire-at>2020-11-24T05:31:06Z</expire-at><entry><content>content_mu4khr0207</content></entry></data>

2020-11-23 21:31:01 | target: http://localhost:8088

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

2020-11-23 21:31:01 | entity: <data><node>node_6fsz200203</node><expire-at>2020-11-24T05:31:06Z</expire-at><entry><content>content_mu4khr0207</content></entry></data>

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

2020-11-23 21:31:01 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ca639962-f734-471f-9fac-8fe01008e51d</value></item-id></result>

2020-11-23 21:31:01 | contains: true

2020-11-23 21:31:09 | [Mutex] waiting for: [user_regularafk8oe0202@test-domain.com:message:received:content_mu4khr0207]

2020-11-23 21:31:24 | [Mutex] timeout. Not received [user_regularafk8oe0202@test-domain.com:message:received:content_mu4khr0207]

2020-11-23 21:31:24 | [Mutex] received everything.

2020-11-23 21:31:24 | [Mutex] isItemNotified: user_regularafk8oe0202@test-domain.com:message:received:content_mu4khr0207 :: false

2020-11-23 21:31:24 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_mu4khr0207 :: true