Generated by TestNG with ReportNG at 22:21 PDT on Wednesday 13 April 2022
root@61c39d2ed70d / Java 17.0.2 (Private Build) / 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 : 44.736s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.657s
2022-04-13 22:36:25 |

2022-04-13 22:36:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-04-13 22:36:25 | ------------------------------------

2022-04-13 22:36:25 | [Mutex] isItemNotified: node_qzzl5o0203:exists :: false

2022-04-13 22:36:25 | [Mutex] waiting for: [node_qzzl5o0203:create_node]

2022-04-13 22:36:25 | [Mutex] waiting for: [node_qzzl5o0203:create_node]

2022-04-13 22:36:25 | [Mutex] received everything.

2022-04-13 22:36:25 | [Mutex] isItemNotified: node_qzzl5o0203:create_node:success :: true

2022-04-13 22:36:25 | [Mutex] waiting for: [node_qzzl5o0203:subscribe_node]

2022-04-13 22:36:25 | [Mutex] waiting for: [node_qzzl5o0203:subscribe_node]

2022-04-13 22:36:25 | [Mutex] received everything.

2022-04-13 22:36:25 | [Mutex] isItemNotified: node_qzzl5o0203:subscribe_node:success :: true

2022-04-13 22:36:25 |


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


2022-04-13 22:36:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-04-13 22:36:25 | command: <data><node>node_qzzl5o0203</node><entry><content>content_fgwata0204</content></entry></data>

2022-04-13 22:36:25 | target: http://localhost:8088

2022-04-13 22:36:25 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-04-13 22:36:25 | entity: <data><node>node_qzzl5o0203</node><entry><content>content_fgwata0204</content></entry></data>

2022-04-13 22:36:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 14 Apr 2022 05:36:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-04-13 22:36:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8bff44a5-5b18-404b-87bb-8719536821e7</value></item-id></result>

2022-04-13 22:36:25 | contains: true

2022-04-13 22:36:25 | [Mutex] received everything.

2022-04-13 22:36:25 | [Mutex] isItemNotified: user_regularx9dzxh0202@test-domain.com:message:received:content_fgwata0204 :: true

2022-04-13 22:36:25 |


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


2022-04-13 22:36:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-04-13 22:36:25 | command: <data><node>node_qzzl5o0203</node><expire-at>2022-04-14T05:36:20Z</expire-at><entry><content>content_bzqhd90205</content></entry></data>

2022-04-13 22:36:25 | target: http://localhost:8088

2022-04-13 22:36:25 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-04-13 22:36:25 | entity: <data><node>node_qzzl5o0203</node><expire-at>2022-04-14T05:36:20Z</expire-at><entry><content>content_bzqhd90205</content></entry></data>

2022-04-13 22:36:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 14 Apr 2022 05:36:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-04-13 22:36:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8603a492-e0cc-4085-8491-feeb5ecdd520</value></item-id></result>

2022-04-13 22:36:25 | contains: true

2022-04-13 22:36:25 | [Mutex] waiting for: [user_regularx9dzxh0202@test-domain.com:message:received:content_bzqhd90205]

2022-04-13 22:36:40 | [Mutex] timeout. Not received [user_regularx9dzxh0202@test-domain.com:message:received:content_bzqhd90205]

2022-04-13 22:36:40 | [Mutex] isItemNotified: user_regularx9dzxh0202@test-domain.com:message:received:content_bzqhd90205 :: false

2022-04-13 22:36:40 |


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


2022-04-13 22:36:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-04-13 22:36:40 | command: <data><node>node_qzzl5o0203</node><entry><content>content_k9d3j00206</content></entry></data>

2022-04-13 22:36:40 | target: http://localhost:8088

2022-04-13 22:36:40 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-04-13 22:36:40 | entity: <data><node>node_qzzl5o0203</node><entry><content>content_k9d3j00206</content></entry></data>

2022-04-13 22:36:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 14 Apr 2022 05:36:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-04-13 22:36:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6f8ba1b8-5af3-46be-819c-2f044bb7c1e8</value></item-id></result>

2022-04-13 22:36:40 | contains: true

2022-04-13 22:36:45 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-04-13 22:36:45 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=476 thread=1] DNS entry stored in session object: localhost:5222

2022-04-13 22:36:45 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=476 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-04-13 22:36:45 | [Mutex] waiting for: [user_regularx9dzxh0202@test-domain.com:message:received:content_k9d3j00206]

2022-04-13 22:36:45 | [Mutex] waiting for: [user_regularx9dzxh0202@test-domain.com:message:received:content_k9d3j00206]

2022-04-13 22:36:45 | [Mutex] received everything.

2022-04-13 22:36:45 | [Mutex] isItemNotified: user_regularx9dzxh0202@test-domain.com:message:received:content_k9d3j00206 :: true

2022-04-13 22:36:45 |


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


2022-04-13 22:36:45 | [Mutex] received everything.

2022-04-13 22:36:45 | [Mutex] isItemNotified: node_qzzl5o0203:subscribe_node:success :: true

2022-04-13 22:36:45 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-04-13 22:36:45 | command: <data><node>node_qzzl5o0203</node><expire-at>2022-04-14T05:36:50Z</expire-at><entry><content>content_52mwyy0207</content></entry></data>

2022-04-13 22:36:45 | target: http://localhost:8088

2022-04-13 22:36:45 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-04-13 22:36:45 | entity: <data><node>node_qzzl5o0203</node><expire-at>2022-04-14T05:36:50Z</expire-at><entry><content>content_52mwyy0207</content></entry></data>

2022-04-13 22:36:45 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 14 Apr 2022 05:36:45 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-04-13 22:36:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>384c49af-bea5-4d04-b408-67d13f8e606c</value></item-id></result>

2022-04-13 22:36:45 | contains: true

2022-04-13 22:36:53 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-04-13 22:36:53 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=477 thread=1] DNS entry stored in session object: localhost:5222

2022-04-13 22:36:53 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=477 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-04-13 22:36:53 | [Mutex] waiting for: [user_regularx9dzxh0202@test-domain.com:message:received:content_52mwyy0207]

2022-04-13 22:37:08 | [Mutex] timeout. Not received [user_regularx9dzxh0202@test-domain.com:message:received:content_52mwyy0207]

2022-04-13 22:37:08 | [Mutex] received everything.

2022-04-13 22:37:08 | [Mutex] isItemNotified: user_regularx9dzxh0202@test-domain.com:message:received:content_52mwyy0207 :: false

2022-04-13 22:37:08 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_52mwyy0207 :: true