Generated by TestNG with ReportNG at 22:48 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.740s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.614s
2023-03-23 23:02:39 |

2023-03-23 23:02:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-03-23 23:02:39 | ------------------------------------

2023-03-23 23:02:39 | [Mutex] isItemNotified: node_prfa240208:exists :: false

2023-03-23 23:02:39 | [Mutex] waiting for: [node_prfa240208:create_node]

2023-03-23 23:02:39 | [Mutex] received everything.

2023-03-23 23:02:39 | [Mutex] isItemNotified: node_prfa240208:create_node:success :: true

2023-03-23 23:02:39 | [Mutex] waiting for: [node_prfa240208:subscribe_node]

2023-03-23 23:02:39 | [Mutex] waiting for: [node_prfa240208:subscribe_node]

2023-03-23 23:02:39 | [Mutex] received everything.

2023-03-23 23:02:39 | [Mutex] isItemNotified: node_prfa240208:subscribe_node:success :: true

2023-03-23 23:02:39 |


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


2023-03-23 23:02:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-23 23:02:39 | command: <data><node>node_prfa240208</node><entry><content>content_25w47b0209</content></entry></data>

2023-03-23 23:02:39 | target: http://localhost:8088

2023-03-23 23:02:39 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-03-23 23:02:39 | entity: <data><node>node_prfa240208</node><entry><content>content_25w47b0209</content></entry></data>

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

2023-03-23 23:02:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>1bad054e-ffe2-4fed-89ea-cf44d58de7f5</value></item-id></result>

2023-03-23 23:02:40 | contains: true

2023-03-23 23:02:40 | [Mutex] received everything.

2023-03-23 23:02:40 | [Mutex] isItemNotified: user_regularyl8r0f0207@test-domain.com:message:received:content_25w47b0209 :: true

2023-03-23 23:02:40 |


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


2023-03-23 23:02:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-23 23:02:40 | command: <data><node>node_prfa240208</node><expire-at>2023-03-24T06:02:35Z</expire-at><entry><content>content_lme1zz0210</content></entry></data>

2023-03-23 23:02:40 | target: http://localhost:8088

2023-03-23 23:02:40 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-03-23 23:02:40 | entity: <data><node>node_prfa240208</node><expire-at>2023-03-24T06:02:35Z</expire-at><entry><content>content_lme1zz0210</content></entry></data>

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

2023-03-23 23:02:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>28528e0b-d073-4500-86ce-c4087ec0cab5</value></item-id></result>

2023-03-23 23:02:40 | contains: true

2023-03-23 23:02:40 | [Mutex] waiting for: [user_regularyl8r0f0207@test-domain.com:message:received:content_lme1zz0210]

2023-03-23 23:02:55 | [Mutex] timeout. Not received [user_regularyl8r0f0207@test-domain.com:message:received:content_lme1zz0210]

2023-03-23 23:02:55 | [Mutex] isItemNotified: user_regularyl8r0f0207@test-domain.com:message:received:content_lme1zz0210 :: false

2023-03-23 23:02:55 |


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


2023-03-23 23:02:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-23 23:02:55 | command: <data><node>node_prfa240208</node><entry><content>content_w6jsab0211</content></entry></data>

2023-03-23 23:02:55 | target: http://localhost:8088

2023-03-23 23:02:55 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-03-23 23:02:55 | entity: <data><node>node_prfa240208</node><entry><content>content_w6jsab0211</content></entry></data>

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

2023-03-23 23:02:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ed9cc2ea-adaa-4954-b26a-0180bddaf3f1</value></item-id></result>

2023-03-23 23:02:55 | contains: true

2023-03-23 23:03:00 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2023-03-23 23:03:00 | [Mutex] waiting for: [user_regularyl8r0f0207@test-domain.com:message:received:content_w6jsab0211]

2023-03-23 23:03:00 | [Mutex] waiting for: [user_regularyl8r0f0207@test-domain.com:message:received:content_w6jsab0211]

2023-03-23 23:03:00 | [Mutex] received everything.

2023-03-23 23:03:00 | [Mutex] isItemNotified: user_regularyl8r0f0207@test-domain.com:message:received:content_w6jsab0211 :: true

2023-03-23 23:03:00 |


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


2023-03-23 23:03:00 | [Mutex] received everything.

2023-03-23 23:03:00 | [Mutex] isItemNotified: node_prfa240208:subscribe_node:success :: true

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

2023-03-23 23:03:00 | command: <data><node>node_prfa240208</node><expire-at>2023-03-24T06:03:05Z</expire-at><entry><content>content_vbqx7b0212</content></entry></data>

2023-03-23 23:03:00 | target: http://localhost:8088

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

2023-03-23 23:03:00 | entity: <data><node>node_prfa240208</node><expire-at>2023-03-24T06:03:05Z</expire-at><entry><content>content_vbqx7b0212</content></entry></data>

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

2023-03-23 23:03:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c3c0d48e-0e49-4183-9cfa-ef7243c2c0eb</value></item-id></result>

2023-03-23 23:03:00 | contains: true

2023-03-23 23:03:08 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2023-03-23 23:03:08 | [Mutex] waiting for: [user_regularyl8r0f0207@test-domain.com:message:received:content_vbqx7b0212]

2023-03-23 23:03:08 | [Mutex] waiting for: [user_regularyl8r0f0207@test-domain.com:message:received:content_vbqx7b0212]

2023-03-23 23:03:23 | [Mutex] timeout. Not received [user_regularyl8r0f0207@test-domain.com:message:received:content_vbqx7b0212]

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

2023-03-23 23:03:23 | [Mutex] isItemNotified: user_regularyl8r0f0207@test-domain.com:message:received:content_vbqx7b0212 :: false

2023-03-23 23:03:23 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_vbqx7b0212 :: true