Generated by TestNG with ReportNG at 22:15 PDT on Friday 24 March 2023
root@f9c07ffec79b / 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.762s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.683s
2023-03-24 22:30:17 |

2023-03-24 22:30:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-03-24 22:30:17 | ------------------------------------

2023-03-24 22:30:17 | [Mutex] isItemNotified: node_2rhk4g0208:exists :: false

2023-03-24 22:30:17 | [Mutex] waiting for: [node_2rhk4g0208:create_node]

2023-03-24 22:30:17 | [Mutex] received everything.

2023-03-24 22:30:17 | [Mutex] isItemNotified: node_2rhk4g0208:create_node:success :: true

2023-03-24 22:30:17 | [Mutex] waiting for: [node_2rhk4g0208:subscribe_node]

2023-03-24 22:30:17 | [Mutex] waiting for: [node_2rhk4g0208:subscribe_node]

2023-03-24 22:30:17 | [Mutex] received everything.

2023-03-24 22:30:17 | [Mutex] isItemNotified: node_2rhk4g0208:subscribe_node:success :: true

2023-03-24 22:30:17 |


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


2023-03-24 22:30:17 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-24 22:30:17 | command: <data><node>node_2rhk4g0208</node><entry><content>content_j2pje20209</content></entry></data>

2023-03-24 22:30:17 | target: http://localhost:8088

2023-03-24 22:30:17 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-03-24 22:30:17 | entity: <data><node>node_2rhk4g0208</node><entry><content>content_j2pje20209</content></entry></data>

2023-03-24 22:30:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 25 Mar 2023 05:30:17 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-24 22:30:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9ee6a574-51fb-4c5e-af2e-780946ea8e35</value></item-id></result>

2023-03-24 22:30:17 | contains: true

2023-03-24 22:30:17 | [Mutex] received everything.

2023-03-24 22:30:17 | [Mutex] isItemNotified: user_regular91n65s0207@test-domain.com:message:received:content_j2pje20209 :: true

2023-03-24 22:30:17 |


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


2023-03-24 22:30:17 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-24 22:30:17 | command: <data><node>node_2rhk4g0208</node><expire-at>2023-03-25T05:30:12Z</expire-at><entry><content>content_9vv0390210</content></entry></data>

2023-03-24 22:30:17 | target: http://localhost:8088

2023-03-24 22:30:17 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-03-24 22:30:17 | entity: <data><node>node_2rhk4g0208</node><expire-at>2023-03-25T05:30:12Z</expire-at><entry><content>content_9vv0390210</content></entry></data>

2023-03-24 22:30:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 25 Mar 2023 05:30:17 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-24 22:30:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>3397cedd-6e28-4e0a-8d54-9483d52708ae</value></item-id></result>

2023-03-24 22:30:17 | contains: true

2023-03-24 22:30:17 | [Mutex] waiting for: [user_regular91n65s0207@test-domain.com:message:received:content_9vv0390210]

2023-03-24 22:30:32 | [Mutex] timeout. Not received [user_regular91n65s0207@test-domain.com:message:received:content_9vv0390210]

2023-03-24 22:30:32 | [Mutex] isItemNotified: user_regular91n65s0207@test-domain.com:message:received:content_9vv0390210 :: false

2023-03-24 22:30:32 |


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


2023-03-24 22:30:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-24 22:30:32 | command: <data><node>node_2rhk4g0208</node><entry><content>content_trp6ts0211</content></entry></data>

2023-03-24 22:30:32 | target: http://localhost:8088

2023-03-24 22:30:32 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-03-24 22:30:32 | entity: <data><node>node_2rhk4g0208</node><entry><content>content_trp6ts0211</content></entry></data>

2023-03-24 22:30:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 25 Mar 2023 05:30:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-24 22:30:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>11f87cd4-5bb5-4342-96a6-acae96894ad6</value></item-id></result>

2023-03-24 22:30:32 | contains: true

2023-03-24 22:30:37 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2023-03-24 22:30:37 | [Mutex] waiting for: [user_regular91n65s0207@test-domain.com:message:received:content_trp6ts0211]

2023-03-24 22:30:37 | [Mutex] waiting for: [user_regular91n65s0207@test-domain.com:message:received:content_trp6ts0211]

2023-03-24 22:30:37 | [Mutex] received everything.

2023-03-24 22:30:37 | [Mutex] isItemNotified: user_regular91n65s0207@test-domain.com:message:received:content_trp6ts0211 :: true

2023-03-24 22:30:37 |


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


2023-03-24 22:30:37 | [Mutex] received everything.

2023-03-24 22:30:37 | [Mutex] isItemNotified: node_2rhk4g0208:subscribe_node:success :: true

2023-03-24 22:30:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-24 22:30:37 | command: <data><node>node_2rhk4g0208</node><expire-at>2023-03-25T05:30:42Z</expire-at><entry><content>content_7ribv40212</content></entry></data>

2023-03-24 22:30:37 | target: http://localhost:8088

2023-03-24 22:30:37 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-03-24 22:30:37 | entity: <data><node>node_2rhk4g0208</node><expire-at>2023-03-25T05:30:42Z</expire-at><entry><content>content_7ribv40212</content></entry></data>

2023-03-24 22:30:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 25 Mar 2023 05:30:37 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-24 22:30:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>da6df400-100d-4dd3-8d44-15724eacc152</value></item-id></result>

2023-03-24 22:30:37 | contains: true

2023-03-24 22:30:45 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2023-03-24 22:30:46 | [Mutex] waiting for: [user_regular91n65s0207@test-domain.com:message:received:content_7ribv40212]

2023-03-24 22:30:46 | [Mutex] waiting for: [user_regular91n65s0207@test-domain.com:message:received:content_7ribv40212]

2023-03-24 22:31:01 | [Mutex] timeout. Not received [user_regular91n65s0207@test-domain.com:message:received:content_7ribv40212]

2023-03-24 22:31:01 | [Mutex] received everything.

2023-03-24 22:31:01 | [Mutex] isItemNotified: user_regular91n65s0207@test-domain.com:message:received:content_7ribv40212 :: false

2023-03-24 22:31:01 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_7ribv40212 :: true