Generated by TestNG with ReportNG at 22:16 PDT on Tuesday 11 July 2023
root@cc7d7fbb25f7 / 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.608s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.597s
2023-07-11 22:31:20 |

2023-07-11 22:31:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-07-11 22:31:20 | ------------------------------------

2023-07-11 22:31:20 | [Mutex] isItemNotified: node_hp8cu0208:exists :: false

2023-07-11 22:31:20 | [Mutex] waiting for: [node_hp8cu0208:create_node]

2023-07-11 22:31:20 | [Mutex] waiting for: [node_hp8cu0208:create_node]

2023-07-11 22:31:20 | [Mutex] received everything.

2023-07-11 22:31:20 | [Mutex] isItemNotified: node_hp8cu0208:create_node:success :: true

2023-07-11 22:31:20 | [Mutex] waiting for: [node_hp8cu0208:subscribe_node]

2023-07-11 22:31:20 | [Mutex] waiting for: [node_hp8cu0208:subscribe_node]

2023-07-11 22:31:20 | [Mutex] received everything.

2023-07-11 22:31:20 | [Mutex] isItemNotified: node_hp8cu0208:subscribe_node:success :: true

2023-07-11 22:31:20 |


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


2023-07-11 22:31:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-07-11 22:31:20 | command: <data><node>node_hp8cu0208</node><entry><content>content_itnbd10209</content></entry></data>

2023-07-11 22:31:20 | target: http://localhost:8088

2023-07-11 22:31:20 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2023-07-11 22:31:20 | entity: <data><node>node_hp8cu0208</node><entry><content>content_itnbd10209</content></entry></data>

2023-07-11 22:31:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 12 Jul 2023 05:31:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-07-11 22:31:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b970377e-2c2d-4903-8dc1-1ade50730c1c</value></item-id></result>

2023-07-11 22:31:20 | contains: true

2023-07-11 22:31:20 | [Mutex] received everything.

2023-07-11 22:31:20 | [Mutex] isItemNotified: user_regularuxhgcr0207@test-domain.com:message:received:content_itnbd10209 :: true

2023-07-11 22:31:20 |


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


2023-07-11 22:31:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-07-11 22:31:20 | command: <data><node>node_hp8cu0208</node><expire-at>2023-07-12T05:31:15Z</expire-at><entry><content>content_ig5fj40210</content></entry></data>

2023-07-11 22:31:20 | target: http://localhost:8088

2023-07-11 22:31:20 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false]

2023-07-11 22:31:20 | entity: <data><node>node_hp8cu0208</node><expire-at>2023-07-12T05:31:15Z</expire-at><entry><content>content_ig5fj40210</content></entry></data>

2023-07-11 22:31:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 12 Jul 2023 05:31:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-07-11 22:31:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f26f718a-2533-41ab-bc07-375bb470aa35</value></item-id></result>

2023-07-11 22:31:20 | contains: true

2023-07-11 22:31:20 | [Mutex] waiting for: [user_regularuxhgcr0207@test-domain.com:message:received:content_ig5fj40210]

2023-07-11 22:31:35 | [Mutex] timeout. Not received [user_regularuxhgcr0207@test-domain.com:message:received:content_ig5fj40210]

2023-07-11 22:31:35 | [Mutex] isItemNotified: user_regularuxhgcr0207@test-domain.com:message:received:content_ig5fj40210 :: false

2023-07-11 22:31:35 |


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


2023-07-11 22:31:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-07-11 22:31:35 | command: <data><node>node_hp8cu0208</node><entry><content>content_zeroxq0211</content></entry></data>

2023-07-11 22:31:35 | target: http://localhost:8088

2023-07-11 22:31:35 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2023-07-11 22:31:35 | entity: <data><node>node_hp8cu0208</node><entry><content>content_zeroxq0211</content></entry></data>

2023-07-11 22:31:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 12 Jul 2023 05:31:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-07-11 22:31:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>fc2eb04f-e6f4-481b-866c-0b880b6e734a</value></item-id></result>

2023-07-11 22:31:35 | contains: true

2023-07-11 22:31:40 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-07-11 22:31:40 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222

2023-07-11 22:31:40 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-07-11 22:31:40 | [Mutex] waiting for: [user_regularuxhgcr0207@test-domain.com:message:received:content_zeroxq0211]

2023-07-11 22:31:40 | [Mutex] waiting for: [user_regularuxhgcr0207@test-domain.com:message:received:content_zeroxq0211]

2023-07-11 22:31:40 | [Mutex] received everything.

2023-07-11 22:31:40 | [Mutex] isItemNotified: user_regularuxhgcr0207@test-domain.com:message:received:content_zeroxq0211 :: true

2023-07-11 22:31:40 |


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


2023-07-11 22:31:40 | [Mutex] received everything.

2023-07-11 22:31:40 | [Mutex] isItemNotified: node_hp8cu0208:subscribe_node:success :: true

2023-07-11 22:31:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-07-11 22:31:40 | command: <data><node>node_hp8cu0208</node><expire-at>2023-07-12T05:31:45Z</expire-at><entry><content>content_4winv10212</content></entry></data>

2023-07-11 22:31:40 | target: http://localhost:8088

2023-07-11 22:31:40 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false]

2023-07-11 22:31:40 | entity: <data><node>node_hp8cu0208</node><expire-at>2023-07-12T05:31:45Z</expire-at><entry><content>content_4winv10212</content></entry></data>

2023-07-11 22:31:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 12 Jul 2023 05:31:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-07-11 22:31:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>29fa6f28-d5fb-4e9f-ada1-c1c90f1fcee1</value></item-id></result>

2023-07-11 22:31:40 | contains: true

2023-07-11 22:31:48 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2023-07-11 22:31:48 | [Mutex] waiting for: [user_regularuxhgcr0207@test-domain.com:message:received:content_4winv10212]

2023-07-11 22:31:48 | [Mutex] waiting for: [user_regularuxhgcr0207@test-domain.com:message:received:content_4winv10212]

2023-07-11 22:31:48 | [Mutex] waiting for: [user_regularuxhgcr0207@test-domain.com:message:received:content_4winv10212]

2023-07-11 22:32:03 | [Mutex] timeout. Not received [user_regularuxhgcr0207@test-domain.com:message:received:content_4winv10212]

2023-07-11 22:32:03 | [Mutex] received everything.

2023-07-11 22:32:03 | [Mutex] isItemNotified: user_regularuxhgcr0207@test-domain.com:message:received:content_4winv10212 :: false

2023-07-11 22:32:03 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_4winv10212 :: true