Best Citrus code snippet using com.consol.citrus.channel.ChannelSyncEndpointBuilder.messageConverter
Source:ChannelSyncEndpointBuilder.java
...57 endpoint.getEndpointConfiguration().setMessagingTemplate(messagingTemplate);58 return this;59 }60 /**61 * Sets the messageConverter property.62 * @param messageConverter63 * @return64 */65 public ChannelSyncEndpointBuilder messageConverter(ChannelMessageConverter messageConverter) {66 endpoint.getEndpointConfiguration().setMessageConverter(messageConverter);67 return this;68 }69 /**70 * Sets the channel resolver.71 * @param resolver72 * @return73 */74 public ChannelSyncEndpointBuilder channelResolver(DestinationResolver resolver) {75 endpoint.getEndpointConfiguration().setChannelResolver(resolver);76 return this;77 }78 /**79 * Sets the useObjectMessages property.80 * @param useObjectMessages...
Source:ChannelSyncEndpointConfigParser.java
...53 }54 builder.messagingTemplate(getReferenceResolver().resolve(messagingTemplate, MessagingTemplate.class));55 }56 builder.useObjectMessages(annotation.useObjectMessages());57 if (StringUtils.hasText(annotation.messageConverter())) {58 builder.messageConverter(getReferenceResolver().resolve(annotation.messageConverter(), ChannelMessageConverter.class));59 }60 if (StringUtils.hasText(annotation.channelResolver())) {61 builder.channelResolver(getReferenceResolver().resolve(annotation.channelResolver(), DestinationResolver.class));62 }63 builder.timeout(annotation.timeout());64 if (StringUtils.hasText(annotation.actor())) {65 builder.actor(getReferenceResolver().resolve(annotation.actor(), TestActor.class));66 }67 if (StringUtils.hasText(annotation.correlator())) {68 builder.correlator(getReferenceResolver().resolve(annotation.correlator(), MessageCorrelator.class));69 }70 builder.pollingInterval(annotation.pollingInterval());71 return builder.initialize().build();72 }...
messageConverter
Using AI Code Generation
1package com.consol.citrus.channel;2import org.springframework.context.annotation.Bean;3import org.springframework.context.annotation.Configuration;4import org.springframework.integration.dsl.IntegrationFlow;5import org.springframework.integration.dsl.IntegrationFlows;6import org.springframework.integration.dsl.MessageChannels;7import org.springframework.integration.dsl.Pollers;8public class ChannelSyncEndpointBuilderTest {9 public IntegrationFlow channelSyncEndpointBuilderTestFlow() {10 return IntegrationFlows.from("channelSyncEndpointBuilderTestInputChannel", c -> c.poller(Pollers.fixedDelay(100)))11 .channel(MessageChannels.direct("channelSyncEndpointBuilderTestOutputChannel"))12 .get();13 }14}15package com.consol.citrus.channel;16import org.springframework.context.annotation.Bean;17import org.springframework.context.annotation.Configuration;18import org.springframework.integration.dsl.IntegrationFlow;19import org.springframework.integration.dsl.IntegrationFlows;20import org.springframework.integration.dsl.MessageChannels;21import org.springframework.integration.dsl.Pollers;22public class ChannelSyncEndpointBuilderTest {23 public IntegrationFlow channelSyncEndpointBuilderTestFlow() {24 return IntegrationFlows.from("channelSyncEndpointBuilderTestInputChannel", c -> c.poller(Pollers.fixedDelay(100)))25 .channel(MessageChannels.direct("channelSyncEndpointBuilderTestOutputChannel"))26 .get();27 }28}29package com.consol.citrus.channel;30import org.springframework.context.annotation.Bean;31import org.springframework.context.annotation.Configuration;32import org.springframework.integration.dsl.IntegrationFlow;33import org.springframework.integration.dsl.IntegrationFlows;34import org.springframework.integration.dsl.MessageChannels;35import org.springframework.integration.dsl.Pollers;36public class ChannelSyncEndpointBuilderTest {37 public IntegrationFlow channelSyncEndpointBuilderTestFlow() {38 return IntegrationFlows.from("channelSyncEndpointBuilderTestInputChannel", c -> c.poller(Pollers.fixedDelay(100)))39 .channel(MessageChannels.direct("channelSyncEndpointBuilderTestOutputChannel"))40 .get();41 }42}43package com.consol.citrus.channel;
messageConverter
Using AI Code Generation
1import com.consol.citrus.channel.ChannelSyncEndpointBuilder;2import com.consol.citrus.dsl.junit.JUnit4CitrusTestDesigner;3import com.consol.citrus.endpoint.Endpoint;4import com.consol.citrus.message.MessageConverter;5import org.springframework.beans.factory.annotation.Autowired;6import org.springframework.context.ApplicationContext;7import org.springframework.context.annotation.Bean;8import org.springframework.context.annotation.Configuration;9import org.springframework.integration.channel.QueueChannel;10import org.springframework.integration.dsl.IntegrationFlow;11import org.springframework.integration.dsl.IntegrationFlows;12import org.springframework.integration.dsl.MessageChannels;13import org.springframework.integration.handler.GenericHandler;14import org.springframework.messaging.Message;15import org.springframework.messaging.MessageChannel;16import org.springframework.messaging.MessageHandler;17import org.springframework.messaging.MessagingException;18import org.springframework.messaging.support.GenericMessage;19import org.springframework.stereotype.Component;20import org.testng.annotations.Test;21import java.util.concurrent.TimeUnit;22public class 4 extends JUnit4CitrusTestDesigner {23 private ApplicationContext applicationContext;24 private MessageChannel inputChannel;25 private MessageChannel outputChannel;26 private MessageChannel inputChannel2;27 private MessageChannel outputChannel2;28 private MessageChannel inputChannel3;29 private MessageChannel outputChannel3;30 private MessageChannel inputChannel4;31 private MessageChannel outputChannel4;32 private MessageChannel inputChannel5;33 private MessageChannel outputChannel5;34 private MessageChannel inputChannel6;35 private MessageChannel outputChannel6;36 private MessageChannel inputChannel7;37 private MessageChannel outputChannel7;38 private MessageChannel inputChannel8;39 private MessageChannel outputChannel8;40 private MessageChannel inputChannel9;41 private MessageChannel outputChannel9;42 private MessageChannel inputChannel10;43 private MessageChannel outputChannel10;44 private MessageChannel inputChannel11;45 private MessageChannel outputChannel11;46 private MessageChannel inputChannel12;47 private MessageChannel outputChannel12;48 private MessageChannel inputChannel13;
messageConverter
Using AI Code Generation
1import com.consol.citrus.channel.ChannelSyncEndpointBuilder;2import com.consol.citrus.dsl.builder.BuilderSupport;3import com.consol.citrus.dsl.builder.ReceiveMessageBuilder;4import com.consol.citrus.message.MessageType;5import com.consol.citrus.message.builder.DefaultMessageBuilder;6import com.consol.citrus.message.builder.MessageBuilder;7import com.consol.citrus.message.builder.ObjectMappingPayloadBuilder;8import com.consol.citrus.message.builder.PayloadTemplateMessageBuilder;9import com.consol.citrus.message.builder.StaticMessageContentBuilder;10import com.consol.citrus.message.builder.TextMessageBuilder;11import com.consol.citrus.message.converter.MessageConverter;12import com.consol.citrus.message.converter.StaticMessageConverter;13import com.consol.citrus.validation.builder.DefaultMessageHeaderBuilder;14import com.consol.citrus.validation.builder.DefaultValidationContextBuilder;15import com.consol.citrus.validation.builder.ValidationContextBuilder;16import com.consol.citrus.validation.json.JsonMessageValidationContext;17import com.consol.citrus.validation.json.JsonPathMessageValidationContext;18import com.consol.citrus.validation.json.JsonSchemaMessageValidationContext;19import com.consol.citrus.validation.script.GroovyScriptMessageValidationContext;20import com.consol.citrus.validation.script.ScriptValidationContext;21import com.consol.citrus.validation.xml.*;22import com.consol.citrus.ws.addressing.*;23import com.consol.citrus.ws.interceptor.SoapActionInboundInterceptor;24import com.consol.citrus.ws.interceptor.SoapActionOutboundInterceptor;25import com.consol.citrus.ws.interceptor.WsSecurityInboundInterceptor;26import com.consol.citrus.ws.interceptor.WsSecurityOutboundInterceptor;27import com.consol.citrus.ws.validation.SoapAttachmentValidator;28import com.consol.citrus.ws.validation.SoapFaultDetailValidator;29import com.consol.citrus.ws.validation.SoapFaultValidator;30import com.consol.citrus.ws.validation.SoapHeaderValidator;31import org.springframework.beans.factory.annotation.Autowired;32import org.springframework.context.ApplicationContext;33import org.springframework.integration.channel.DirectChannel;34import org.springframework.integration.channel.QueueChannel;35import org.springframework.integration.support.MessageBuilder;36import org.springframework.messaging.MessageChannel;37import org.springframework.util.StringUtils;38import org.testng.Assert;39import org.testng.annotations.Test;40import java.util.*;41public class Test1 {42 private ApplicationContext applicationContext;
messageConverter
Using AI Code Generation
1public class 4 {2 public static void main(String[] args) throws Exception {3 ApplicationContext ctx = new ClassPathXmlApplicationContext("4.xml");4 ChannelSyncEndpointBuilder channelSyncEndpointBuilder = ctx.getBean("channelSyncEndpointBuilder", ChannelSyncEndpointBuilder.class);5 channelSyncEndpointBuilder.messageConverter(new StringToMessageConverter());6 }7}8public class 5 {9 public static void main(String[] args) throws Exception {10 ApplicationContext ctx = new ClassPathXmlApplicationContext("5.xml");11 ChannelSyncEndpointBuilder channelSyncEndpointBuilder = ctx.getBean("channelSyncEndpointBuilder", ChannelSyncEndpointBuilder.class);12 channelSyncEndpointBuilder.messageConverter(new StringToMessageConverter());13 }14}
messageConverter
Using AI Code Generation
1public class 4 extends TestNGCitrusTestDesigner {2 private ApplicationContext applicationContext;3 public void 4() {4 variable("variableName", "value");5 echo("message: ${variableName}");6 send("channelName")7 .messageConverter(applicationContext.getBean("messageConverter", MessageConverter.class));8 }9}10public class 5 extends TestNGCitrusTestDesigner {11 private ApplicationContext applicationContext;12 public void 5() {13 variable("variableName", "value");14 echo("message: ${variableName}");15 send("channelName")16 .messageSelector(applicationContext.getBean("messageSelector", String.class));17 }18}19public class 6 extends TestNGCitrusTestDesigner {20 private ApplicationContext applicationContext;21 public void 6() {22 variable("variableName", "value");23 echo("message: ${variableName}");24 send("channelName")25 .timeout(applicationContext.getBean("timeout", long.class));26 }27}28public class 7 extends TestNGCitrusTestDesigner {29 private ApplicationContext applicationContext;30 public void 7() {31 variable("variableName", "value");32 echo("message: ${variableName}");33 send("channelName")34 .pollTimeout(applicationContext.getBean("pollTimeout", long.class));35 }36}37public class 8 extends TestNGCitrusTestDesigner {38 private ApplicationContext applicationContext;39 public void 8() {40 variable("variableName", "value");41 echo("message: ${variableName}");42 send("channelName")43 .messageSelectorExpression(applicationContext.getBean("messageSelectorExpression", String.class));44 }45}
messageConverter
Using AI Code Generation
1public class 4 {2 public static void main(String[] args) {3 new ClassPathXmlApplicationContext("4.xml");4 }5}6package com.consol.citrus.channel;7import com.consol.citrus.endpoint.AbstractEndpointBuilder;8import com.consol.citrus.message.MessageConverter;9import com.consol.citrus.message.MessageProcessor;10import java.util.*;11public class ChannelSyncEndpointBuilder extends AbstractEndpointBuilder<ChannelSyncEndpoint> {12 protected ChannelSyncEndpoint endpoint = new ChannelSyncEndpoint();13 public ChannelSyncEndpointBuilder() {14 super(endpoint);15 }16 public ChannelSyncEndpointBuilder channelName(String channelName) {17 endpoint.setChannelName(channelName);18 return this;19 }20 public ChannelSyncEndpointBuilder messageConverter(MessageConverter messageConverter) {21 endpoint.setMessageConverter(messageConverter);22 return this;23 }24 public ChannelSyncEndpointBuilder messageProcessor(MessageProcessor messageProcessor) {25 endpoint.setMessageProcessor(messageProcessor);26 return this;27 }28 public ChannelSyncEndpointBuilder timeout(long timeout) {29 endpoint.setTimeout(timeout);30 return this;31 }32 public ChannelSyncEndpointBuilder pollingInterval(long pollingInterval) {33 endpoint.setPollingInterval(pollingInterval);34 return this;35 }36 public ChannelSyncEndpointBuilder poller(String poller) {37 endpoint.setPoller(poller);38 return this;39 }40 public ChannelSyncEndpointBuilder autoStart(boolean autoStart) {41 endpoint.setAutoStart(autoStart);42 return this;43 }44 public ChannelSyncEndpointBuilder errorHandler(String errorHandler) {45 endpoint.setErrorHandler(errorHandler);46 return this;47 }48 public ChannelSyncEndpointBuilder interceptors(List<String> interceptors) {49 endpoint.setInterceptors(interceptors);50 return this;51 }52 public ChannelSyncEndpointBuilder interceptor(String interceptor) {53 endpoint.getInterceptors().add(interceptor);54 return this;55 }56 public ChannelSyncEndpointBuilder beanName(String beanName) {57 endpoint.setBeanName(beanName);58 return this;59 }60 public ChannelSyncEndpointBuilder channel(org.springframework.messaging.MessageChannel channel) {61 endpoint.setChannel(channel);62 return this;63 }64 public ChannelSyncEndpointBuilder channelResolver(org.springframework.integration.channel.ChannelResolver channelResolver) {
messageConverter
Using AI Code Generation
1public class 4 {2 private ApplicationContext applicationContext;3 public void test4() {4 MessageChannel channel = applicationContext.getBean("channel4", MessageChannel.class);5 channel.send(new GenericMessage<>("Test Message"));6 }7}8public class 5 {9 private ApplicationContext applicationContext;10 public void test5() {11 MessageChannel channel = applicationContext.getBean("channel5", MessageChannel.class);12 channel.send(new GenericMessage<>("Test Message"));13 }14}15public class 6 {16 private ApplicationContext applicationContext;17 public void test6() {18 MessageChannel channel = applicationContext.getBean("channel6", MessageChannel.class);19 channel.send(new GenericMessage<>("Test Message"));20 }21}22public class 7 {23 private ApplicationContext applicationContext;24 public void test7() {25 MessageChannel channel = applicationContext.getBean("channel7", MessageChannel.class);26 channel.send(new GenericMessage<>("Test Message"));27 }28}29public class 8 {30 private ApplicationContext applicationContext;31 public void test8() {32 MessageChannel channel = applicationContext.getBean("channel8", MessageChannel.class);33 channel.send(new GenericMessage<>("Test Message"));34 }35}36public class 9 {37 private ApplicationContext applicationContext;38 public void test9() {39 MessageChannel channel = applicationContext.getBean("channel9", MessageChannel.class);40 channel.send(new GenericMessage<>("Test Message"));41 }42}
messageConverter
Using AI Code Generation
1package com.consol.citrus.channel;2import com.consol.citrus.dsl.testng.TestNGCitrusTestRunner;3import org.springframework.beans.factory.annotation.Autowired;4import org.springframework.messaging.Message;5import org.springframework.messaging.MessageChannel;6import org.springframework.messaging.support.MessageBuilder;7import org.springframework.test.context.ContextConfiguration;8import org.testng.annotations.Test;9@ContextConfiguration(classes = ChannelSyncEndpointConfig.class)10public class ChannelSyncEndpointBuilderTest extends TestNGCitrusTestRunner {11 private MessageChannel requestChannel;12 public void channelSyncEndpointBuilderTest() {13 description("Test to verify the functionality of messageConverter method of ChannelSyncEndpointBuilder class");14 send(requestChannel)15 .payload("Hello World!")16 .messageConverter(new MessageConverterTest());17 receive(requestChannel)18 .payload("Hello World!")19 .messageConverter(new MessageConverterTest());20 }21 private class MessageConverterTest implements MessageConverter {22 public Object convertOutbound(Message<?> message, MessageChannel messageChannel) {23 return message.getPayload().toString().toUpperCase();24 }25 public Message<?> convertInbound(Object o, MessageChannel messageChannel) {26 return MessageBuilder.withPayload(o.toString().toLowerCase()).build();27 }28 }29}30package com.consol.citrus.channel;31import com.consol.citrus.dsl.testng.TestNGCitrusTestRunner;32import org.springframework.beans.factory.annotation.Autowired;33import org.springframework.messaging.Message;34import org.springframework.messaging.MessageChannel;35import org.springframework.messaging.support.MessageBuilder;36import org.springframework.test.context.ContextConfiguration;37import org.testng.annotations.Test;38@ContextConfiguration(classes = ChannelSyncEndpointConfig.class)39public class ChannelSyncEndpointBuilderTest extends TestNGCitrusTestRunner {40 private MessageChannel requestChannel;41 public void channelSyncEndpointBuilderTest() {42 description("Test to verify the functionality of messageSelectorExpression method of ChannelSyncEndpointBuilder class");43 send(requestChannel)44 .payload("Hello World!")45 .header("citrus", "test");46 send(requestChannel)47 .payload("Hello World!")48 .header("citrus",
messageConverter
Using AI Code Generation
1 endpoint.setErrorHandler(errorHandler);2 return this;3 }4 public ChannelSyncEndpointBuilder interceptors(List<String> interceptors) {5 endpoint.setInterceptors(interceptors);6 return this;7 }8 public ChannelSyncEndpointBuilder interceptor(String interceptor) {9 endpoint.getInterceptors().add(interceptor);10 return this;11 }12 public ChannelSyncEndpointBuilder beanName(String beanName) {13 endpoint.setBeanName(beanName);14 return this;15 }16 public ChannelSyncEndpointBuilder channel(org.springframework.messaging.MessageChannel channel) {17 endpoint.setChannel(channel);18 return this;19 }20 public ChannelSyncEndpointBuilder channelResolver(org.springframework.integration.channel.ChannelResolver channelResolver) {
messageConverter
Using AI Code Generation
1public class 4 {2 private ApplicationContext applicationContext;3 public void test4() {4 MessageChannel channel = applicationContext.getBean("channel4", MessageChannel.class);5 channel.send(new GenericMessage<>("Test Message"));6 }7}8public class 5 {9 private ApplicationContext applicationContext;10 public void test5() {11 MessageChannel channel = applicationContext.getBean("channel5", MessageChannel.class);12 channel.send(new GenericMessage<>("Test Message"));13 }14}15public class 6 {16 private ApplicationContext applicationContext;17 public void test6() {18 MessageChannel channel = applicationContext.getBean("channel6", MessageChannel.class);19 channel.send(new GenericMessage<>("Test Message"));20 }21}22public class 7 {23 private ApplicationContext applicationContext;24 public void test7() {25 MessageChannel channel = applicationContext.getBean("channel7", MessageChannel.class);26 channel.send(new GenericMessage<>("Test Message"));27 }28}29public class 8 {30 private ApplicationContext applicationContext;31 public void test8() {32 MessageChannel channel = applicationContext.getBean("channel8", MessageChannel.class);33 channel.send(new GenericMessage<>("Test Message"));34 }35}36public class 9 {37 private ApplicationContext applicationContext;38 public void test9() {39 MessageChannel channel = applicationContext.getBean("channel9", MessageChannel.class);40 channel.send(new GenericMessage<>("Test Message"));41 }42}
messageConverter
Using AI Code Generation
1package com.consol.citrus.channel;2import com.consol.citrus.dsl.testng.TestNGCitrusTestRunner;3import org.springframework.beans.factory.annotation.Autowired;4import org.springframework.messaging.Message;5import org.springframework.messaging.MessageChannel;6import org.springframework.messaging.support.MessageBuilder;7import org.springframework.test.context.ContextConfiguration;8import org.testng.annotations.Test;9@ContextConfiguration(classes = ChannelSyncEndpointConfig.class)10public class ChannelSyncEndpointBuilderTest extends TestNGCitrusTestRunner {11 private MessageChannel requestChannel;12 public void channelSyncEndpointBuilderTest() {13 description("Test to verify the functionality of messageConverter method of ChannelSyncEndpointBuilder class");14 send(requestChannel)15 .payload("Hello World!")16 .messageConverter(new MessageConverterTest());17 receive(requestChannel)18 .payload("Hello World!")19 .messageConverter(new MessageConverterTest());20 }21 private class MessageConverterTest implements MessageConverter {22 public Object convertOutbound(Message<?> message, MessageChannel messageChannel) {23 return message.getPayload().toString().toUpperCase();24 }25 public Message<?> convertInbound(Object o, MessageChannel messageChannel) {26 return MessageBuilder.withPayload(o.toString().toLowerCase()).build();27 }28 }29}30package com.consol.citrus.channel;31import com.consol.citrus.dsl.testng.TestNGCitrusTestRunner;32import org.springframework.beans.factory.annotation.Autowired;33import org.springframework.messaging.Message;34import org.springframework.messaging.MessageChannel;35import org.springframework.messaging.support.MessageBuilder;36import org.springframework.test.context.ContextConfiguration;37import org.testng.annotations.Test;38@ContextConfiguration(classes = ChannelSyncEndpointConfig.class)39public class ChannelSyncEndpointBuilderTest extends TestNGCitrusTestRunner {40 private MessageChannel requestChannel;41 public void channelSyncEndpointBuilderTest() {42 description("Test to verify the functionality of messageSelectorExpression method of ChannelSyncEndpointBuilder class");43 send(requestChannel)44 .payload("Hello World!")45 .header("citrus", "test");46 send(requestChannel)47 .payload("Hello World!")48 .header("citrus",
messageConverter
Using AI Code Generation
1 }2 public ChannelSyncEndpointBuilder pollingInterval(long pollingInterval) {3 endpoint.setPollingInterval(pollingInterval);4 return this;5 }6 public ChannelSyncEndpointBuilder poller(String poller) {7 endpoint.setPoller(poller);8 return this;9 }10 public ChannelSyncEndpointBuilder autoStart(boolean autoStart) {11 endpoint.setAutoStart(autoStart);12 return this;13 }14 public ChannelSyncEndpointBuilder errorHandler(String errorHandler) {15 endpoint.setErrorHandler(errorHandler);16 return this;17 }18 public ChannelSyncEndpointBuilder interceptors(List<String> interceptors) {19 endpoint.setInterceptors(interceptors);20 return this;21 }22 public ChannelSyncEndpointBuilder interceptor(String interceptor) {23 endpoint.getInterceptors().add(interceptor);24 return this;25 }26 public ChannelSyncEndpointBuilder beanName(String beanName) {27 endpoint.setBeanName(beanName);28 return this;29 }30 public ChannelSyncEndpointBuilder channel(org.springframework.messaging.MessageChannel channel) {31 endpoint.setChannel(channel);32 return this;33 }34 public ChannelSyncEndpointBuilder channelResolver(org.springframework.integration.channel.ChannelResolver channelResolver) {
messageConverter
Using AI Code Generation
1public class 4 {2 private ApplicationContext applicationContext;3 public void test4() {4 MessageChannel channel = applicationContext.getBean("channel4", MessageChannel.class);5 channel.send(new GenericMessage<>("Test Message"));6 }7}8public class 5 {9 private ApplicationContext applicationContext;10 public void test5() {11 MessageChannel channel = applicationContext.getBean("channel5", MessageChannel.class);12 channel.send(new GenericMessage<>("Test Message"));13 }14}15public class 6 {16 private ApplicationContext applicationContext;17 public void test6() {18 MessageChannel channel = applicationContext.getBean("channel6", MessageChannel.class);19 channel.send(new GenericMessage<>("Test Message"));20 }21}22public class 7 {23 private ApplicationContext applicationContext;24 public void test7() {25 MessageChannel channel = applicationContext.getBean("channel7", MessageChannel.class);26 channel.send(new GenericMessage<>("Test Message"));27 }28}29public class 8 {30 private ApplicationContext applicationContext;31 public void test8() {32 MessageChannel channel = applicationContext.getBean("channel8", MessageChannel.class);33 channel.send(new GenericMessage<>("Test Message"));34 }35}36public class 9 {37 private ApplicationContext applicationContext;38 public void test9() {39 MessageChannel channel = applicationContext.getBean("channel9", MessageChannel.class);40 channel.send(new GenericMessage<>("Test Message"));41 }42}
Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.
You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.
Get 100 minutes of automation test minutes FREE!!