Is there a way to open 2 modules at the same time?

:bullseye: What is your goal?

Hello,
Is there a way to open 2 modules at the same time ?
This could be useful when you have to do a copy paste between two modules.

:thinking: What is the problem?

I can’t do it.

:test_tube: What have you tried so far?

I get the input json result from the first module and copy to the second one.

Hi @Gounet. Welcome to the community.

You mean in the Editor window? You can open two browser tabs or use Chrome’s new Split View feature.

Not sure what you mean. Can you explain your use case further? Are you editing the scenario, or running it?

@damato

Thank you for the quick answer, sure two browser tabs is a good workaround.
I’m editing a scenario with two modules who have the same parameters, one has the values and I’d like to copy to the other. cf. screenshot

Oh, I see it now.

If it were a JSON structure, I would advise you to copy the output from the previous module upon successfully running it and the use Generate to recreate the data structure.

But since those are two HTTP requests, my advice is that you Set a Variable with the full querystring value before both modules and map that to the HTTP module.

Can you map the querystring in the APITemplate.io module as well?

@damato

Hello Damato,

Thank you for this.

In my case Generate is useless because I have to setup API parameters that don’t come from a previous module.

That a good trick to set a variable with the querystring and then map.

In my case, I was simply doing a test with the same API calls coming from two different modules.

Thank you for your support.

Cheers,

Emmanuel

1 Like