Generated by TestNG with ReportNG at 22:15 PDT on Thursday 23 March 2023
root@f9c07ffec79b / Java 17.0.2 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

REST: Item publication on PubSub node with message expiration using REST API - #2959

Suites · Log Output

Test duration : 44.782s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.657s
2023-03-23 22:30:36 |

2023-03-23 22:30:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-03-23 22:30:36 | ------------------------------------

2023-03-23 22:30:36 | [Mutex] isItemNotified: node_gndow90208:exists :: false

2023-03-23 22:30:36 | [Mutex] waiting for: [node_gndow90208:create_node]

2023-03-23 22:30:36 | [Mutex] received everything.

2023-03-23 22:30:36 | [Mutex] isItemNotified: node_gndow90208:create_node:success :: true

2023-03-23 22:30:36 | [Mutex] waiting for: [node_gndow90208:subscribe_node]

2023-03-23 22:30:36 | [Mutex] waiting for: [node_gndow90208:subscribe_node]

2023-03-23 22:30:36 | [Mutex] received everything.

2023-03-23 22:30:36 | [Mutex] isItemNotified: node_gndow90208:subscribe_node:success :: true

2023-03-23 22:30:36 |


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


2023-03-23 22:30:36 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-23 22:30:36 | command: <data><node>node_gndow90208</node><entry><content>content_xb3s6k0209</content></entry></data>

2023-03-23 22:30:36 | target: http://localhost:8088

2023-03-23 22:30:36 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-03-23 22:30:36 | entity: <data><node>node_gndow90208</node><entry><content>content_xb3s6k0209</content></entry></data>

2023-03-23 22:30:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 24 Mar 2023 05:30:36 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-23 22:30:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9ebbe15f-d089-4f03-906f-89bdfe649354</value></item-id></result>

2023-03-23 22:30:36 | contains: true

2023-03-23 22:30:36 | [Mutex] received everything.

2023-03-23 22:30:36 | [Mutex] isItemNotified: user_regulart698340207@test-domain.com:message:received:content_xb3s6k0209 :: true

2023-03-23 22:30:36 |


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


2023-03-23 22:30:36 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-23 22:30:36 | command: <data><node>node_gndow90208</node><expire-at>2023-03-24T05:30:31Z</expire-at><entry><content>content_9r1xlm0210</content></entry></data>

2023-03-23 22:30:36 | target: http://localhost:8088

2023-03-23 22:30:36 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-03-23 22:30:36 | entity: <data><node>node_gndow90208</node><expire-at>2023-03-24T05:30:31Z</expire-at><entry><content>content_9r1xlm0210</content></entry></data>

2023-03-23 22:30:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 24 Mar 2023 05:30:36 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-23 22:30:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c7d9c659-0f46-4e94-9c51-719ebd1a9c02</value></item-id></result>

2023-03-23 22:30:36 | contains: true

2023-03-23 22:30:36 | [Mutex] waiting for: [user_regulart698340207@test-domain.com:message:received:content_9r1xlm0210]

2023-03-23 22:30:51 | [Mutex] timeout. Not received [user_regulart698340207@test-domain.com:message:received:content_9r1xlm0210]

2023-03-23 22:30:51 | [Mutex] isItemNotified: user_regulart698340207@test-domain.com:message:received:content_9r1xlm0210 :: false

2023-03-23 22:30:51 |


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


2023-03-23 22:30:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-23 22:30:51 | command: <data><node>node_gndow90208</node><entry><content>content_cbrbfi0211</content></entry></data>

2023-03-23 22:30:51 | target: http://localhost:8088

2023-03-23 22:30:51 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-03-23 22:30:51 | entity: <data><node>node_gndow90208</node><entry><content>content_cbrbfi0211</content></entry></data>

2023-03-23 22:30:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 24 Mar 2023 05:30:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-23 22:30:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>14f564ef-2b74-4184-ae89-7f007a51f0db</value></item-id></result>

2023-03-23 22:30:51 | contains: true

2023-03-23 22:30:56 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-03-23 22:30:56 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222

2023-03-23 22:30:56 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-03-23 22:30:56 | [Mutex] waiting for: [user_regulart698340207@test-domain.com:message:received:content_cbrbfi0211]

2023-03-23 22:30:56 | [Mutex] waiting for: [user_regulart698340207@test-domain.com:message:received:content_cbrbfi0211]

2023-03-23 22:30:56 | [Mutex] received everything.

2023-03-23 22:30:56 | [Mutex] isItemNotified: user_regulart698340207@test-domain.com:message:received:content_cbrbfi0211 :: true

2023-03-23 22:30:56 |


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


2023-03-23 22:30:56 | [Mutex] received everything.

2023-03-23 22:30:56 | [Mutex] isItemNotified: node_gndow90208:subscribe_node:success :: true

2023-03-23 22:30:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-23 22:30:56 | command: <data><node>node_gndow90208</node><expire-at>2023-03-24T05:31:01Z</expire-at><entry><content>content_rlq6ut0212</content></entry></data>

2023-03-23 22:30:56 | target: http://localhost:8088

2023-03-23 22:30:56 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-03-23 22:30:56 | entity: <data><node>node_gndow90208</node><expire-at>2023-03-24T05:31:01Z</expire-at><entry><content>content_rlq6ut0212</content></entry></data>

2023-03-23 22:30:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 24 Mar 2023 05:30:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-23 22:30:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>bc0919de-fed7-409e-867a-c87fb954c05a</value></item-id></result>

2023-03-23 22:30:56 | contains: true

2023-03-23 22:31:04 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-03-23 22:31:04 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222

2023-03-23 22:31:04 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-03-23 22:31:05 | [Mutex] waiting for: [user_regulart698340207@test-domain.com:message:received:content_rlq6ut0212]

2023-03-23 22:31:20 | [Mutex] timeout. Not received [user_regulart698340207@test-domain.com:message:received:content_rlq6ut0212]

2023-03-23 22:31:20 | [Mutex] received everything.

2023-03-23 22:31:20 | [Mutex] isItemNotified: user_regulart698340207@test-domain.com:message:received:content_rlq6ut0212 :: false

2023-03-23 22:31:20 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_rlq6ut0212 :: true