Generated by TestNG with ReportNG at 22:15 PDT on Friday 17 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.816s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.629s
2023-03-17 22:29:46 |

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

2023-03-17 22:29:46 | ------------------------------------

2023-03-17 22:29:46 | [Mutex] isItemNotified: node_15serq0208:exists :: false

2023-03-17 22:29:46 | [Mutex] waiting for: [node_15serq0208:create_node]

2023-03-17 22:29:46 | [Mutex] received everything.

2023-03-17 22:29:46 | [Mutex] isItemNotified: node_15serq0208:create_node:success :: true

2023-03-17 22:29:46 | [Mutex] waiting for: [node_15serq0208:subscribe_node]

2023-03-17 22:29:46 | [Mutex] waiting for: [node_15serq0208:subscribe_node]

2023-03-17 22:29:46 | [Mutex] received everything.

2023-03-17 22:29:46 | [Mutex] isItemNotified: node_15serq0208:subscribe_node:success :: true

2023-03-17 22:29:46 |


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


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

2023-03-17 22:29:46 | command: <data><node>node_15serq0208</node><entry><content>content_zc36ev0209</content></entry></data>

2023-03-17 22:29:46 | target: http://localhost:8088

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

2023-03-17 22:29:46 | entity: <data><node>node_15serq0208</node><entry><content>content_zc36ev0209</content></entry></data>

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

2023-03-17 22:29:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>165326af-d6c8-410f-9326-89a941aab042</value></item-id></result>

2023-03-17 22:29:46 | contains: true

2023-03-17 22:29:46 | [Mutex] waiting for: [user_regularmjyxcy0207@test-domain.com:message:received:content_zc36ev0209]

2023-03-17 22:29:46 | [Mutex] received everything.

2023-03-17 22:29:46 | [Mutex] isItemNotified: user_regularmjyxcy0207@test-domain.com:message:received:content_zc36ev0209 :: true

2023-03-17 22:29:46 |


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


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

2023-03-17 22:29:46 | command: <data><node>node_15serq0208</node><expire-at>2023-03-18T05:29:41Z</expire-at><entry><content>content_2tu5po0210</content></entry></data>

2023-03-17 22:29:46 | target: http://localhost:8088

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

2023-03-17 22:29:46 | entity: <data><node>node_15serq0208</node><expire-at>2023-03-18T05:29:41Z</expire-at><entry><content>content_2tu5po0210</content></entry></data>

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

2023-03-17 22:29:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>97b92837-c147-41bb-8d1c-64d27db4dc2d</value></item-id></result>

2023-03-17 22:29:46 | contains: true

2023-03-17 22:29:46 | [Mutex] waiting for: [user_regularmjyxcy0207@test-domain.com:message:received:content_2tu5po0210]

2023-03-17 22:30:01 | [Mutex] timeout. Not received [user_regularmjyxcy0207@test-domain.com:message:received:content_2tu5po0210]

2023-03-17 22:30:01 | [Mutex] isItemNotified: user_regularmjyxcy0207@test-domain.com:message:received:content_2tu5po0210 :: false

2023-03-17 22:30:01 |


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


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

2023-03-17 22:30:01 | command: <data><node>node_15serq0208</node><entry><content>content_ht2jkb0211</content></entry></data>

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

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

2023-03-17 22:30:01 | entity: <data><node>node_15serq0208</node><entry><content>content_ht2jkb0211</content></entry></data>

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

2023-03-17 22:30:01 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ff626774-385f-49eb-918c-d294d46a5096</value></item-id></result>

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

2023-03-17 22:30:06 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2023-03-17 22:30:07 | [Mutex] waiting for: [user_regularmjyxcy0207@test-domain.com:message:received:content_ht2jkb0211]

2023-03-17 22:30:07 | [Mutex] waiting for: [user_regularmjyxcy0207@test-domain.com:message:received:content_ht2jkb0211]

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

2023-03-17 22:30:07 | [Mutex] isItemNotified: user_regularmjyxcy0207@test-domain.com:message:received:content_ht2jkb0211 :: true

2023-03-17 22:30:07 |


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


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

2023-03-17 22:30:07 | [Mutex] isItemNotified: node_15serq0208:subscribe_node:success :: true

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

2023-03-17 22:30:07 | command: <data><node>node_15serq0208</node><expire-at>2023-03-18T05:30:12Z</expire-at><entry><content>content_b6ro0m0212</content></entry></data>

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

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

2023-03-17 22:30:07 | entity: <data><node>node_15serq0208</node><expire-at>2023-03-18T05:30:12Z</expire-at><entry><content>content_b6ro0m0212</content></entry></data>

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

2023-03-17 22:30:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5d4c9740-8f7d-438f-8ab9-7532e1e0957e</value></item-id></result>

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

2023-03-17 22:30:15 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2023-03-17 22:30:15 | [Mutex] waiting for: [user_regularmjyxcy0207@test-domain.com:message:received:content_b6ro0m0212]

2023-03-17 22:30:15 | [Mutex] waiting for: [user_regularmjyxcy0207@test-domain.com:message:received:content_b6ro0m0212]

2023-03-17 22:30:15 | [Mutex] waiting for: [user_regularmjyxcy0207@test-domain.com:message:received:content_b6ro0m0212]

2023-03-17 22:30:30 | [Mutex] timeout. Not received [user_regularmjyxcy0207@test-domain.com:message:received:content_b6ro0m0212]

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

2023-03-17 22:30:30 | [Mutex] isItemNotified: user_regularmjyxcy0207@test-domain.com:message:received:content_b6ro0m0212 :: false

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