Generated by TestNG with ReportNG at 22:47 PDT on Friday 17 March 2023
root@ed1b7dd8a1b3 / 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.775s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.660s
2023-03-17 23:01:56 |

2023-03-17 23:01:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-03-17 23:01:56 | ------------------------------------

2023-03-17 23:01:56 | [Mutex] isItemNotified: node_f7ht280208:exists :: false

2023-03-17 23:01:56 | [Mutex] waiting for: [node_f7ht280208:create_node]

2023-03-17 23:01:56 | [Mutex] waiting for: [node_f7ht280208:create_node]

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

2023-03-17 23:01:56 | [Mutex] isItemNotified: node_f7ht280208:create_node:success :: true

2023-03-17 23:01:56 | [Mutex] waiting for: [node_f7ht280208:subscribe_node]

2023-03-17 23:01:56 | [Mutex] waiting for: [node_f7ht280208:subscribe_node]

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

2023-03-17 23:01:56 | [Mutex] isItemNotified: node_f7ht280208:subscribe_node:success :: true

2023-03-17 23:01:56 |


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


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

2023-03-17 23:01:56 | command: <data><node>node_f7ht280208</node><entry><content>content_8qrdxm0209</content></entry></data>

2023-03-17 23:01:56 | target: http://localhost:8088

2023-03-17 23:01:56 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-03-17 23:01:56 | entity: <data><node>node_f7ht280208</node><entry><content>content_8qrdxm0209</content></entry></data>

2023-03-17 23:01:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 18 Mar 2023 06:01:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-17 23:01:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b0d03b57-5086-4866-818c-80fd5fcfda37</value></item-id></result>

2023-03-17 23:01:56 | contains: true

2023-03-17 23:01:56 | [Mutex] waiting for: [user_regular2iyxkg0207@test-domain.com:message:received:content_8qrdxm0209]

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

2023-03-17 23:01:56 | [Mutex] isItemNotified: user_regular2iyxkg0207@test-domain.com:message:received:content_8qrdxm0209 :: true

2023-03-17 23:01:56 |


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


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

2023-03-17 23:01:56 | command: <data><node>node_f7ht280208</node><expire-at>2023-03-18T06:01:51Z</expire-at><entry><content>content_w0rtir0210</content></entry></data>

2023-03-17 23:01:56 | target: http://localhost:8088

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

2023-03-17 23:01:56 | entity: <data><node>node_f7ht280208</node><expire-at>2023-03-18T06:01:51Z</expire-at><entry><content>content_w0rtir0210</content></entry></data>

2023-03-17 23:01:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 18 Mar 2023 06:01:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-17 23:01:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2f88f85a-439e-4567-9654-d75f14a834a6</value></item-id></result>

2023-03-17 23:01:56 | contains: true

2023-03-17 23:01:56 | [Mutex] waiting for: [user_regular2iyxkg0207@test-domain.com:message:received:content_w0rtir0210]

2023-03-17 23:02:11 | [Mutex] timeout. Not received [user_regular2iyxkg0207@test-domain.com:message:received:content_w0rtir0210]

2023-03-17 23:02:11 | [Mutex] isItemNotified: user_regular2iyxkg0207@test-domain.com:message:received:content_w0rtir0210 :: false

2023-03-17 23:02:11 |


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


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

2023-03-17 23:02:11 | command: <data><node>node_f7ht280208</node><entry><content>content_gb0xpf0211</content></entry></data>

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

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

2023-03-17 23:02:11 | entity: <data><node>node_f7ht280208</node><entry><content>content_gb0xpf0211</content></entry></data>

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

2023-03-17 23:02:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ab17ffe5-dcaf-4286-9b3d-2f49ffd1b10c</value></item-id></result>

2023-03-17 23:02:12 | contains: true

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

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

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

2023-03-17 23:02:17 | [Mutex] waiting for: [user_regular2iyxkg0207@test-domain.com:message:received:content_gb0xpf0211]

2023-03-17 23:02:17 | [Mutex] waiting for: [user_regular2iyxkg0207@test-domain.com:message:received:content_gb0xpf0211]

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

2023-03-17 23:02:17 | [Mutex] isItemNotified: user_regular2iyxkg0207@test-domain.com:message:received:content_gb0xpf0211 :: true

2023-03-17 23:02:17 |


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


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

2023-03-17 23:02:17 | [Mutex] isItemNotified: node_f7ht280208:subscribe_node:success :: true

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

2023-03-17 23:02:17 | command: <data><node>node_f7ht280208</node><expire-at>2023-03-18T06:02:22Z</expire-at><entry><content>content_6nhvb20212</content></entry></data>

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

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

2023-03-17 23:02:17 | entity: <data><node>node_f7ht280208</node><expire-at>2023-03-18T06:02:22Z</expire-at><entry><content>content_6nhvb20212</content></entry></data>

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

2023-03-17 23:02:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2afb1533-dbbc-43f0-b2f3-a1320e4addcc</value></item-id></result>

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

2023-03-17 23:02:25 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2023-03-17 23:02:25 | [Mutex] waiting for: [user_regular2iyxkg0207@test-domain.com:message:received:content_6nhvb20212]

2023-03-17 23:02:40 | [Mutex] timeout. Not received [user_regular2iyxkg0207@test-domain.com:message:received:content_6nhvb20212]

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

2023-03-17 23:02:40 | [Mutex] isItemNotified: user_regular2iyxkg0207@test-domain.com:message:received:content_6nhvb20212 :: false

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