Generated by TestNG with ReportNG at 22:45 PDT on Tuesday 20 June 2023
root@1512af24e4a5 / 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.671s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.634s
2023-06-20 23:00:00 |

2023-06-20 23:00:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-06-20 23:00:00 | ------------------------------------

2023-06-20 23:00:00 | [Mutex] isItemNotified: node_n54elh0208:exists :: false

2023-06-20 23:00:00 | [Mutex] waiting for: [node_n54elh0208:create_node]

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

2023-06-20 23:00:00 | [Mutex] isItemNotified: node_n54elh0208:create_node:success :: true

2023-06-20 23:00:00 | [Mutex] waiting for: [node_n54elh0208:subscribe_node]

2023-06-20 23:00:00 | [Mutex] waiting for: [node_n54elh0208:subscribe_node]

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

2023-06-20 23:00:00 | [Mutex] isItemNotified: node_n54elh0208:subscribe_node:success :: true

2023-06-20 23:00:00 |


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


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

2023-06-20 23:00:00 | command: <data><node>node_n54elh0208</node><entry><content>content_bmk4ud0209</content></entry></data>

2023-06-20 23:00:00 | target: http://localhost:8088

2023-06-20 23:00:00 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-06-20 23:00:00 | entity: <data><node>node_n54elh0208</node><entry><content>content_bmk4ud0209</content></entry></data>

2023-06-20 23:00:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 21 Jun 2023 06:00:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-06-20 23:00:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9dc468dd-1b30-460e-bbf6-1b99ab573690</value></item-id></result>

2023-06-20 23:00:00 | contains: true

2023-06-20 23:00:00 | [Mutex] waiting for: [user_regularay0xvy0207@test-domain.com:message:received:content_bmk4ud0209]

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

2023-06-20 23:00:00 | [Mutex] isItemNotified: user_regularay0xvy0207@test-domain.com:message:received:content_bmk4ud0209 :: true

2023-06-20 23:00:00 |


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


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

2023-06-20 23:00:00 | command: <data><node>node_n54elh0208</node><expire-at>2023-06-21T05:59:55Z</expire-at><entry><content>content_j196r20210</content></entry></data>

2023-06-20 23:00:00 | target: http://localhost:8088

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

2023-06-20 23:00:00 | entity: <data><node>node_n54elh0208</node><expire-at>2023-06-21T05:59:55Z</expire-at><entry><content>content_j196r20210</content></entry></data>

2023-06-20 23:00:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 21 Jun 2023 06:00:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-06-20 23:00:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>df7b9967-d497-4da6-affd-7cd3b63919ee</value></item-id></result>

2023-06-20 23:00:00 | contains: true

2023-06-20 23:00:00 | [Mutex] waiting for: [user_regularay0xvy0207@test-domain.com:message:received:content_j196r20210]

2023-06-20 23:00:15 | [Mutex] timeout. Not received [user_regularay0xvy0207@test-domain.com:message:received:content_j196r20210]

2023-06-20 23:00:15 | [Mutex] isItemNotified: user_regularay0xvy0207@test-domain.com:message:received:content_j196r20210 :: false

2023-06-20 23:00:15 |


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


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

2023-06-20 23:00:15 | command: <data><node>node_n54elh0208</node><entry><content>content_6mfi8x0211</content></entry></data>

2023-06-20 23:00:15 | target: http://localhost:8088

2023-06-20 23:00:15 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-06-20 23:00:15 | entity: <data><node>node_n54elh0208</node><entry><content>content_6mfi8x0211</content></entry></data>

2023-06-20 23:00:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 21 Jun 2023 06:00:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-06-20 23:00:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>18d3a94a-d8f3-4531-b9ac-9fc09002977c</value></item-id></result>

2023-06-20 23:00:15 | contains: true

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

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

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

2023-06-20 23:00:20 | [Mutex] waiting for: [user_regularay0xvy0207@test-domain.com:message:received:content_6mfi8x0211]

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

2023-06-20 23:00:20 | [Mutex] isItemNotified: user_regularay0xvy0207@test-domain.com:message:received:content_6mfi8x0211 :: true

2023-06-20 23:00:20 |


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


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

2023-06-20 23:00:20 | [Mutex] isItemNotified: node_n54elh0208:subscribe_node:success :: true

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

2023-06-20 23:00:20 | command: <data><node>node_n54elh0208</node><expire-at>2023-06-21T06:00:25Z</expire-at><entry><content>content_ko21mr0212</content></entry></data>

2023-06-20 23:00:20 | target: http://localhost:8088

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

2023-06-20 23:00:20 | entity: <data><node>node_n54elh0208</node><expire-at>2023-06-21T06:00:25Z</expire-at><entry><content>content_ko21mr0212</content></entry></data>

2023-06-20 23:00:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 21 Jun 2023 06:00:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-06-20 23:00:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>266654ce-d730-4c9c-ac9f-e52170ce3a9b</value></item-id></result>

2023-06-20 23:00:20 | contains: true

2023-06-20 23:00:28 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2023-06-20 23:00:28 | [Mutex] waiting for: [user_regularay0xvy0207@test-domain.com:message:received:content_ko21mr0212]

2023-06-20 23:00:43 | [Mutex] timeout. Not received [user_regularay0xvy0207@test-domain.com:message:received:content_ko21mr0212]

2023-06-20 23:00:43 | [Mutex] received everything.

2023-06-20 23:00:43 | [Mutex] isItemNotified: user_regularay0xvy0207@test-domain.com:message:received:content_ko21mr0212 :: false

2023-06-20 23:00:43 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ko21mr0212 :: true