Generated by TestNG with ReportNG at 22:30 PDT on Wednesday 24 May 2023
root@8f5c98824654 / Java 17.0.6 (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.435s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.611s
2023-05-24 22:45:38 |

2023-05-24 22:45:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-05-24 22:45:38 | ------------------------------------

2023-05-24 22:45:38 | [Mutex] isItemNotified: node_d6wcir0208:exists :: false

2023-05-24 22:45:38 | [Mutex] waiting for: [node_d6wcir0208:create_node]

2023-05-24 22:45:38 | [Mutex] waiting for: [node_d6wcir0208:create_node]

2023-05-24 22:45:38 | [Mutex] received everything.

2023-05-24 22:45:38 | [Mutex] isItemNotified: node_d6wcir0208:create_node:success :: true

2023-05-24 22:45:38 | [Mutex] waiting for: [node_d6wcir0208:subscribe_node]

2023-05-24 22:45:39 | [Mutex] waiting for: [node_d6wcir0208:subscribe_node]

2023-05-24 22:45:39 | [Mutex] received everything.

2023-05-24 22:45:39 | [Mutex] isItemNotified: node_d6wcir0208:subscribe_node:success :: true

2023-05-24 22:45:39 |


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


2023-05-24 22:45:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-05-24 22:45:39 | command: <data><node>node_d6wcir0208</node><entry><content>content_pikahm0209</content></entry></data>

2023-05-24 22:45:39 | target: http://localhost:8088

2023-05-24 22:45:39 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-05-24 22:45:39 | entity: <data><node>node_d6wcir0208</node><entry><content>content_pikahm0209</content></entry></data>

2023-05-24 22:45:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 25 May 2023 05:45:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-05-24 22:45:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1fc9e773-cfd7-4335-bcfe-b65e39ebd0dd</value></item-id></result>

2023-05-24 22:45:39 | contains: true

2023-05-24 22:45:39 | [Mutex] waiting for: [user_regular7ac38x0207@test-domain.com:message:received:content_pikahm0209]

2023-05-24 22:45:39 | [Mutex] received everything.

2023-05-24 22:45:39 | [Mutex] isItemNotified: user_regular7ac38x0207@test-domain.com:message:received:content_pikahm0209 :: true

2023-05-24 22:45:39 |


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


2023-05-24 22:45:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-05-24 22:45:39 | command: <data><node>node_d6wcir0208</node><expire-at>2023-05-25T05:45:34Z</expire-at><entry><content>content_zbg8ex0210</content></entry></data>

2023-05-24 22:45:39 | target: http://localhost:8088

2023-05-24 22:45:39 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-05-24 22:45:39 | entity: <data><node>node_d6wcir0208</node><expire-at>2023-05-25T05:45:34Z</expire-at><entry><content>content_zbg8ex0210</content></entry></data>

2023-05-24 22:45:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 25 May 2023 05:45:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-05-24 22:45:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b015187a-a7ab-4c64-8975-06d3ce2e5f7c</value></item-id></result>

2023-05-24 22:45:39 | contains: true

2023-05-24 22:45:39 | [Mutex] waiting for: [user_regular7ac38x0207@test-domain.com:message:received:content_zbg8ex0210]

2023-05-24 22:45:54 | [Mutex] timeout. Not received [user_regular7ac38x0207@test-domain.com:message:received:content_zbg8ex0210]

2023-05-24 22:45:54 | [Mutex] isItemNotified: user_regular7ac38x0207@test-domain.com:message:received:content_zbg8ex0210 :: false

2023-05-24 22:45:54 |


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


2023-05-24 22:45:54 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-05-24 22:45:54 | command: <data><node>node_d6wcir0208</node><entry><content>content_eve3ee0211</content></entry></data>

2023-05-24 22:45:54 | target: http://localhost:8088

2023-05-24 22:45:54 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-05-24 22:45:54 | entity: <data><node>node_d6wcir0208</node><entry><content>content_eve3ee0211</content></entry></data>

2023-05-24 22:45:54 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 25 May 2023 05:45:54 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-05-24 22:45:54 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>3153dac5-634d-4796-b22f-445abdca09ff</value></item-id></result>

2023-05-24 22:45:54 | contains: true

2023-05-24 22:45:59 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-05-24 22:45:59 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222

2023-05-24 22:45:59 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-05-24 22:45:59 | [Mutex] waiting for: [user_regular7ac38x0207@test-domain.com:message:received:content_eve3ee0211]

2023-05-24 22:45:59 | [Mutex] waiting for: [user_regular7ac38x0207@test-domain.com:message:received:content_eve3ee0211]

2023-05-24 22:45:59 | [Mutex] received everything.

2023-05-24 22:45:59 | [Mutex] isItemNotified: user_regular7ac38x0207@test-domain.com:message:received:content_eve3ee0211 :: true

2023-05-24 22:45:59 |


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


2023-05-24 22:45:59 | [Mutex] received everything.

2023-05-24 22:45:59 | [Mutex] isItemNotified: node_d6wcir0208:subscribe_node:success :: true

2023-05-24 22:45:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-05-24 22:45:59 | command: <data><node>node_d6wcir0208</node><expire-at>2023-05-25T05:46:04Z</expire-at><entry><content>content_gfjgtn0212</content></entry></data>

2023-05-24 22:45:59 | target: http://localhost:8088

2023-05-24 22:45:59 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-05-24 22:45:59 | entity: <data><node>node_d6wcir0208</node><expire-at>2023-05-25T05:46:04Z</expire-at><entry><content>content_gfjgtn0212</content></entry></data>

2023-05-24 22:45:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 25 May 2023 05:45:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-05-24 22:45:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>96f75a1c-8dbe-426a-9e84-561101fd140b</value></item-id></result>

2023-05-24 22:45:59 | contains: true

2023-05-24 22:46:07 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-05-24 22:46:07 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222

2023-05-24 22:46:07 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-05-24 22:46:07 | [Mutex] waiting for: [user_regular7ac38x0207@test-domain.com:message:received:content_gfjgtn0212]

2023-05-24 22:46:07 | [Mutex] waiting for: [user_regular7ac38x0207@test-domain.com:message:received:content_gfjgtn0212]

2023-05-24 22:46:22 | [Mutex] timeout. Not received [user_regular7ac38x0207@test-domain.com:message:received:content_gfjgtn0212]

2023-05-24 22:46:22 | [Mutex] received everything.

2023-05-24 22:46:22 | [Mutex] isItemNotified: user_regular7ac38x0207@test-domain.com:message:received:content_gfjgtn0212 :: false

2023-05-24 22:46:22 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_gfjgtn0212 :: true