Generated by TestNG with ReportNG at 22:46 PDT on Wednesday 24 May 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.344s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.533s
2023-05-24 23:00:59 |

2023-05-24 23:00:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-05-24 23:00:59 | ------------------------------------

2023-05-24 23:00:59 | [Mutex] isItemNotified: node_fguvan0208:exists :: false

2023-05-24 23:00:59 | [Mutex] waiting for: [node_fguvan0208:create_node]

2023-05-24 23:00:59 | [Mutex] received everything.

2023-05-24 23:00:59 | [Mutex] isItemNotified: node_fguvan0208:create_node:success :: true

2023-05-24 23:00:59 | [Mutex] waiting for: [node_fguvan0208:subscribe_node]

2023-05-24 23:00:59 | [Mutex] waiting for: [node_fguvan0208:subscribe_node]

2023-05-24 23:00:59 | [Mutex] received everything.

2023-05-24 23:00:59 | [Mutex] isItemNotified: node_fguvan0208:subscribe_node:success :: true

2023-05-24 23:00:59 |


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


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

2023-05-24 23:00:59 | command: <data><node>node_fguvan0208</node><entry><content>content_mfsrpm0209</content></entry></data>

2023-05-24 23:00:59 | target: http://localhost:8088

2023-05-24 23:00:59 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-05-24 23:00:59 | entity: <data><node>node_fguvan0208</node><entry><content>content_mfsrpm0209</content></entry></data>

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

2023-05-24 23:00:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1c8c7bbc-5114-4cc1-8e6f-41c21f4c57e7</value></item-id></result>

2023-05-24 23:00:59 | contains: true

2023-05-24 23:00:59 | [Mutex] received everything.

2023-05-24 23:00:59 | [Mutex] isItemNotified: user_regulargd23uk0207@test-domain.com:message:received:content_mfsrpm0209 :: true

2023-05-24 23:00:59 |


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


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

2023-05-24 23:00:59 | command: <data><node>node_fguvan0208</node><expire-at>2023-05-25T06:00:54Z</expire-at><entry><content>content_ew3qri0210</content></entry></data>

2023-05-24 23:00:59 | target: http://localhost:8088

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

2023-05-24 23:00:59 | entity: <data><node>node_fguvan0208</node><expire-at>2023-05-25T06:00:54Z</expire-at><entry><content>content_ew3qri0210</content></entry></data>

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

2023-05-24 23:00:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b7700058-2583-4d70-8d5f-f1e665e19d67</value></item-id></result>

2023-05-24 23:00:59 | contains: true

2023-05-24 23:00:59 | [Mutex] waiting for: [user_regulargd23uk0207@test-domain.com:message:received:content_ew3qri0210]

2023-05-24 23:01:14 | [Mutex] timeout. Not received [user_regulargd23uk0207@test-domain.com:message:received:content_ew3qri0210]

2023-05-24 23:01:14 | [Mutex] isItemNotified: user_regulargd23uk0207@test-domain.com:message:received:content_ew3qri0210 :: false

2023-05-24 23:01:14 |


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


2023-05-24 23:01:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-05-24 23:01:14 | command: <data><node>node_fguvan0208</node><entry><content>content_az1ab90211</content></entry></data>

2023-05-24 23:01:14 | target: http://localhost:8088

2023-05-24 23:01:14 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-05-24 23:01:14 | entity: <data><node>node_fguvan0208</node><entry><content>content_az1ab90211</content></entry></data>

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

2023-05-24 23:01:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>36fa9273-911e-4f91-967f-0efe24e8363c</value></item-id></result>

2023-05-24 23:01:14 | contains: true

2023-05-24 23:01:19 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2023-05-24 23:01:19 | [Mutex] waiting for: [user_regulargd23uk0207@test-domain.com:message:received:content_az1ab90211]

2023-05-24 23:01:19 | [Mutex] waiting for: [user_regulargd23uk0207@test-domain.com:message:received:content_az1ab90211]

2023-05-24 23:01:19 | [Mutex] received everything.

2023-05-24 23:01:19 | [Mutex] isItemNotified: user_regulargd23uk0207@test-domain.com:message:received:content_az1ab90211 :: true

2023-05-24 23:01:19 |


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


2023-05-24 23:01:19 | [Mutex] received everything.

2023-05-24 23:01:19 | [Mutex] isItemNotified: node_fguvan0208:subscribe_node:success :: true

2023-05-24 23:01:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-05-24 23:01:19 | command: <data><node>node_fguvan0208</node><expire-at>2023-05-25T06:01:24Z</expire-at><entry><content>content_jdnq1p0212</content></entry></data>

2023-05-24 23:01:19 | target: http://localhost:8088

2023-05-24 23:01:19 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-05-24 23:01:19 | entity: <data><node>node_fguvan0208</node><expire-at>2023-05-25T06:01:24Z</expire-at><entry><content>content_jdnq1p0212</content></entry></data>

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

2023-05-24 23:01:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>660a5209-dda3-4707-88ca-e331b9d25db1</value></item-id></result>

2023-05-24 23:01:19 | contains: true

2023-05-24 23:01:27 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2023-05-24 23:01:27 | [Mutex] waiting for: [user_regulargd23uk0207@test-domain.com:message:received:content_jdnq1p0212]

2023-05-24 23:01:42 | [Mutex] timeout. Not received [user_regulargd23uk0207@test-domain.com:message:received:content_jdnq1p0212]

2023-05-24 23:01:42 | [Mutex] received everything.

2023-05-24 23:01:42 | [Mutex] isItemNotified: user_regulargd23uk0207@test-domain.com:message:received:content_jdnq1p0212 :: false

2023-05-24 23:01:42 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_jdnq1p0212 :: true